Skip to content

Commit

Permalink
Chore: change ABSOLUTE_PATH to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
avivash committed Mar 22, 2024
1 parent 9d837e7 commit 2c1d03d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/content/docs/everycli/local-dev.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Every CLI Usage
description: The Every CLI is a developer tool that includes a local gateway server.
---

import { Tabs, TabItem } from '@astrojs/starlight/components';
import { Tabs, TabItem } from "@astrojs/starlight/components";

:::tip[Before you continue]
To get setup, please follow our [Quick Start](/quick-start) guide.
Expand All @@ -22,13 +22,13 @@ Running the Every CLI will start a [Homestar](/homestar/what-is-homestar/) node,
#### To create a single function Homestar workflow

```shell
every dev --fn <ABSOLUTE_PATH_TO_FUNCTION_FILE>
every dev --fn <PATH_TO_FUNCTION_FILE>
```

#### To create a multi-function Homestar workflow

```shell
every dev --fn <ABSOLUTE_PATH_TO_FUNCTION_FILE> --fn <ABSOLUTE_PATH_TO_OTHER_FUNCTION_FILE>
every dev --fn <PATH_TO_FUNCTION_FILE> --fn <PATH_TO_OTHER_FUNCTION_FILE>
```

## Function development loop
Expand Down Expand Up @@ -57,7 +57,7 @@ export function hello(name: string): string {
Start the CLI and point it to your custom TypeScript function

```shell
every cli dev --fn <ABSOLUTE_PATH_TO_YOUR_FUNCTION_DIR>/hello.ts
every cli dev --fn <PATH_TO_YOUR_FUNCTION_DIR>/hello.ts
```

</TabItem>
Expand Down Expand Up @@ -177,7 +177,7 @@ This command will produce a `hello.wasm` component.
Start the CLI and point it to your custom Wasm function

```shell
every cli dev --fn <ABSOLUTE_PATH_TO_YOUR_FUNCTION_DIR>/hello.wasm
every cli dev --fn <PATH_TO_YOUR_FUNCTION_DIR>/hello.wasm
```

## Setting up a tunnel
Expand All @@ -193,7 +193,7 @@ By default the [every-cli](https://github.com/everywhere-computer/every-cli) wil
If you would like to specify your own `toml` file to be used as the configuration for Homestar, you can use the `--config` argument:

```shell
every cli dev --fn <ABSOLUTE_PATH_TO_YOUR_FUNCTION_DIR>/hello.wasm --config ../<YOUR_CONFIG_FILE_NAME>.toml
every cli dev --fn <PATH_TO_YOUR_FUNCTION_DIR>/hello.wasm --config ../<YOUR_CONFIG_FILE_NAME>.toml
```

You can specify as many or as few values in your `toml` file as you like and the [every-cli](https://github.com/everywhere-computer/every-cli) will prioritize the values from your config over the default values.
Expand Down

0 comments on commit 2c1d03d

Please sign in to comment.