Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ActivateCommand = cli.Command{ Name: "activate", 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 MapCommand = cli.Command{
Name: "map",
Usage: "Map a folder path to a profile for auto-activation",
ArgsUsage: "<profile-name> <path>",
Action: mapProfile,
}
View Source
var MapsCommand = cli.Command{
Name: "maps",
Usage: "List all folder path mappings",
Action: listMaps,
}
View Source
var UnmapCommand = cli.Command{
Name: "unmap",
Usage: "Remove a folder path mapping",
ArgsUsage: "<path>",
Action: unmapProfile,
}
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.