Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ActivateCommand = cli.Command{ Name: "activate", Hidden: true, Usage: "Auto-activate the profile for the current directory (used by shell hooks)", Flags: []cli.Flag{ &cli.BoolFlag{ Name: "silent", Usage: "Suppress all output", }, }, Action: activateProfile, }
View Source
var AddCommand = cli.Command{
Name: "add",
Usage: "Add a new profile",
ArgsUsage: "<profile-name>",
Action: addProfile,
}
View Source
var DefaultCommand = cli.Command{ Name: "default", Usage: "Set the default profile used when no path mapping matches", ArgsUsage: "<profile-name>", Flags: []cli.Flag{ &cli.BoolFlag{ Name: "clear", Usage: "Unset the default profile", }, }, Action: setDefault, }
View Source
var DeleteCommand = cli.Command{ Name: "delete", Aliases: []string{"remove"}, Usage: "Delete a profile", ArgsUsage: "<profile-name>", Action: deleteProfile, }
View Source
var EditCommand = cli.Command{
Name: "edit",
Usage: "Edit an existing profile's name and email",
ArgsUsage: "<profile-name>",
Action: editProfile,
}
View Source
var KeysCommand = cli.Command{
Name: "keys",
Usage: "Show SSH keys for a profile",
ArgsUsage: "<profile-name>",
Action: showKeys,
}
View Source
var ListCommand = cli.Command{
Name: "list",
Usage: "List all profiles",
Action: listProfiles,
}
View Source
var MapGroupCommand = cli.Command{ Name: "map", Usage: "Manage folder path mappings for auto-activation", Commands: []*cli.Command{ { Name: "add", Usage: "Map a folder path to a profile", ArgsUsage: "<profile-name> <path>", Action: mapAdd, }, { Name: "remove", Usage: "Remove a folder path mapping", ArgsUsage: "<path>", Action: mapRemove, }, { Name: "list", Usage: "List all folder path mappings", Action: mapList, }, }, }
View Source
var UseCommand = cli.Command{
Name: "use",
Usage: "Activate a profile globally (git identity + SSH keys)",
ArgsUsage: "<profile-name>",
Action: useProfile,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.