Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,21 @@ To log out and remove stored credentials:
cloudcannon logout
```

## Shell completions

Enable tab completion for your shell by adding the following to your shell config:

```sh
# zsh
echo 'source <(cloudcannon complete zsh)' >> ~/.zshrc

# bash
echo 'source <(cloudcannon complete bash)' >> ~/.bashrc

# fish
echo 'cloudcannon complete fish | source' >> ~/.config/fish/config.fish
```

## Usage

```
Expand Down
35 changes: 31 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,15 @@
},
"license": "ISC",
"dependencies": {
"@bomb.sh/tab": "0.0.15",
"@clack/prompts": "1.2.0",
"@cloudcannon/configuration-loader": "0.0.10",
"@cloudcannon/configuration-types": "0.0.58",
"@cloudcannon/gadget": "0.0.32",
"@cloudcannon/gadget": "0.0.33",
"@cloudcannon/sdk": "0.0.5",
"ajv": "8.20.0",
"citty": "0.2.2",
"fastest-levenshtein": "1.0.16",
"yaml": "2.8.3"
}
}
1 change: 1 addition & 0 deletions src/configure/utility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export const text = {
good: (t: string): string => styleText(['green'], t),
bad: (t: string): string => styleText(['red'], t),
secondary: (t: string): string => styleText(['dim'], t),
value: (t: string): string => styleText(['cyan'], t),
};

export const checkSsg = (value: unknown | undefined): SsgKey | undefined => {
Expand Down
Loading