Crates.io | archbelt |
lib.rs | archbelt |
version | |
source | src |
created_at | 2024-07-14 13:56:01.464444 |
updated_at | 2024-07-14 13:56:01.464444 |
description | A tool to work with Archean blueprints and XenonCode modules |
homepage | |
repository | https://github.com/archean-cookbook/archbelt |
max_upload_size | |
id | 1303013 |
size | 0 |
A tool to work with Archean blueprints and XenonCode modules; primarily for use with version control systems and CI/CD.
The following features are in-development:
.xc
filearchbelt
A tool to work with Archean blueprints and XenonCode modules
Usage: archbelt [COMMAND]
Commands:
yank Yank code files from a blueprint
complete Generate shell completion for zsh & bash
help Print this message or the help of the given subcommand(s)
Options:
-h, --help
Print help
-V, --version
Print version
Note, [BLUEPRINT]...
is the name of the blueprint without the .json
extension, and no quotes. This will use the exact name of the blueprint saved in-game, letting you Ctrl-C to copy the name just before you save it, then paste it into the command line.
Yank code files from a blueprint
Usage: archbelt yank [OPTIONS] [BLUEPRINT]...
Arguments:
[BLUEPRINT]... name of the blueprint without .json
Options:
-f, --folder yank blueprint files to folder named after blueprint
-w, --watch watch for changes to the blueprint; yanks files on change [not implemented]
-h, --help Print help
Later, this will have a -w flag to specify "watch" mode, where it will watch the blueprint directory for changes and automatically yank the files, placing them in folders named after the blueprint(s). This will be useful for collections that update while you're in the game, and should work well paired with --folder
.
archbelt complete --help
Generate shell completion for zsh & bash
Usage: archbelt complete [OPTIONS]
Options:
--shell <target> [possible values: bash, elvish, fish, powershell, zsh]
-h, --help Print help
yank
, archbelt
will create a folder for each component that has an HDD in the blueprint. If there is an alias, it will use that for the folder name; if there isn't, it will use the module type's name instead. This means that if there are say, several computers, they will all be saved in the ARCHEAN_computer
folder. This could lead to files being overwritten.