Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CLI help to link to xshe.superatomic.dev #84

Merged
merged 1 commit into from
May 29, 2022
Merged
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
8 changes: 5 additions & 3 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,21 @@ use std::path::PathBuf;
#[clap(group = ArgGroup::new("mode").multiple(false))]
#[clap(global_setting(AppSettings::DeriveDisplayOrder))]
#[clap(version, arg_required_else_help = true)]
#[clap(after_help = "GitHub: https://github.com/superatomic/xshe")]
/// Cross-Shell Environment Variable Manager
///
/// Xshe sets shell environment variables across multiple shells with a single configuration file.
///
/// For more, go to https://github.com/superatomic/xshe#readme
/// Full documentation can be found at https://xshe.superatomic.dev
/// or in the `docs/` source directory.
///
/// Source Repository: https://github.com/superatomic/xshe
pub struct Cli {
/// The shell to generate a script for
///
/// Outputs a runnable shell script for the specified shell.
///
/// You can directly source these files in your shell.
/// Read https://github.com/superatomic/xshe#sourcing-the-xshetoml-file for info.
/// See <https://xshe.superatomic.dev/#/cli> for a detailed explanation.
#[clap(arg_enum, index = 1)]
pub shell: Shell,

Expand Down