CLI doc edits

This commit is contained in:
james.haytko
2023-11-06 12:26:21 -06:00
parent faf5d00d4d
commit cca1ed9066
52 changed files with 207 additions and 135 deletions

View File

@@ -20,8 +20,8 @@ func newCreateCommand() *cobra.Command {
var filepath string
cmd := &cobra.Command{
Use: "create",
Short: "Create an IdentityNow Transform from a file",
Long: "\nCreate an IdentityNow Transform from a file\n\n",
Short: "Create an IdentityNow transform from a file",
Long: "\nCreate an IdentityNow transform from a file\n\n",
Example: "sail transform c -f /path/to/transform.json\nsail transform c < /path/to/transform.json\necho /path/to/transform.json | sail transform c",
Aliases: []string{"c"},
Args: cobra.NoArgs,
@@ -49,7 +49,7 @@ func newCreateCommand() *cobra.Command {
log.Debug("Transform", "transform", transform)
if transform.GetName() == "" {
return fmt.Errorf("the transform must have a name")
return fmt.Errorf("The transform must have a name")
}
apiClient, err := config.InitAPIClient()