Skip to content

Commit

Permalink
adding icon
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Mar 19, 2024
1 parent c6b84ec commit b00c6f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 23 deletions.
3 changes: 3 additions & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ export default defineConfig({
starlight({
title: "GenAIScript",
favicon: "/images/favicon.png",
logo: {
src: "./src/assets/icon.svg",
},
components: {
Footer: "./src/components/Footer.astro",
},
Expand Down
16 changes: 1 addition & 15 deletions docs/src/content/docs/getting-started/automating-scripts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,12 @@ import { FileTree } from '@astrojs/starlight/components';

Once you have a script that you are happy with, you can automate it using the [command line interface](/genaiscript/reference/cli).

## Installation

The CLI, `.genaiscript/genaiscript.cjs` is copied as part of loading the GenAIScript extension. If you have not already installed the extension, you can do so by following the [installation instructions](/genaiscript/getting-started/installation).

<FileTree>

-
- .genaiscript
-
- **genaiscript.cjs**
-

</FileTree>

## Running a script using the CLI

The basic usage of the CLI is to [run](/genaiscript/reference/cli/run/) a script with a tool name and a list of files.

```sh
genaiscript run <toolname> <...files>
npx --yes genaiscript run <toolname> <...files>
```

The CLI will use the secrets in the `.env` file and emit the output to the standard output.
Expand Down
8 changes: 0 additions & 8 deletions docs/src/content/docs/getting-started/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ GenAiScript is available as a [Visual Studio Code Extension](https://marketplace
## Manual Installation

- download the [latest release](https://github.com/microsoft/genaiscript/releases/latest/) on GitHub (if you are getting a 404 page, you need to sign in),

:::tip[Getting 404?]

You need to sign with your **linked** Github Account to access this page until the project is public.
Read more about [linking your GitHub account to your Microsoft account](https://docs.opensource.microsoft.com/github/opensource/accounts/linking/).

:::

- download the `genaiscript.vsix` into your project in VSCode
- right click on the `.vsix` file and select **Install Extension VSIX...**

Expand Down

0 comments on commit b00c6f6

Please sign in to comment.