Skip to content

alta publish ​

Dry run: checks the folder is committed and pushed, prints the source block; sends nothing.

Usage ​

text
alta publish <dir> [--json]

Arguments ​

NameDescription
dirrequiredA folder inside a git repository.

Options ​

NameTypeDefaultDescription
--jsonflagPrint the result as JSON.

Exit codes ​

NameDescription
0ok
1problems found
2bad usage
3not in this version

Examples ​

Print the source block of a pushed folder

Terminal
sh
alta publish my-pack
Output · 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.

See also ​

Alta OS is open source (MIT).