Français
alta publish
Dry run: checks the folder is committed and pushed, prints the source block; sends nothing.
Les descriptions et les sorties sont en anglais, comme la CLI.
Usage
text
alta publish <dir> [--json]Arguments
| Nom | Description | |
|---|---|---|
dir | requis | A folder inside a git repository. |
Options
| Nom | Type | Défaut | Description |
|---|---|---|---|
--json | flag | Print the result as JSON. |
Codes de sortie
| Nom | Description |
|---|---|
0 | ok |
1 | problèmes trouvés |
2 | mauvais usage |
3 | pas dans cette version |
Exemples
Print the source block of a pushed folder
Terminal
sh
alta publish my-packSortie · exit 1
text
not ready (dry run: nothing sent)
problem: my-pack is not in a git repository
1. Nothing was sent. Fix the problems above, then run `alta publish` again.