4 releases
0.1.3 | Nov 14, 2023 |
---|---|
0.1.2 | Mar 23, 2023 |
0.1.1 | Feb 23, 2023 |
0.1.0 | Dec 14, 2022 |
#353 in Cargo plugins
21KB
99 lines
cargo-ktra-login
A Cargo subcommand that logs you in to your little cargo registry.
What is this for?
Given a username and a password, this Cargo subcommand will perform the following steps:
- Identify the registry for the current package
- Check out the registry's repository
- Use the ktra login API to generate a token
- Add the token to Cargo
Usage
cargo-ktra-login has the following command signature:
cargo-ktra-login 0.1.0
Automated login for private ktra registries
USAGE:
cargo ktra-login [OPTIONS] <USERNAME> <PASSWORD>
ARGS:
<USERNAME> The user account to log in with
<PASSWORD> The account password to log in with
OPTIONS:
--dry-run Check that the manifest is valid and that the remote registry
exists, but don't generate a token
-h, --help Print help information
--manifest-path <PATH> Path to Cargo.toml
-V, --version Print version information
Dependencies
~47–64MB
~1M SLoC