You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fd491c1
Browse filesBrowse the repository at this point in the historyBrowse files
feat: add the create flags of sync tools add and sync skills add
sync tools add takes --json-schema and --description, and sync skills
add takes --content, --name, and --description. A content flag turns the
add into a create. Both commands get --yes, which skips the confirmation
of a create. The command builds the create input only from flags that
the command line sets.
The errors for a missing tool or skill now name the command that creates
it. A missing resource without a content flag names the add with its
create flags. A tool or skill file without upsert names the sync that
creates it after the user adds upsert. AddCommand moves into bootstrap,
so that both packages use it.
A JSON outcome of a skill create has a create object with the name that
sync sent and its source: flag, frontMatter, or key.
returnfmt.Errorf("%s already exists in LaunchDarkly with different content, and add does not change it. "+
75
-
"To sync the LaunchDarkly version, run %s, then edit the file and run ldcli sync %ss or ldcli sync all.", id.Label(), addCommand(id), id.Kind)
77
+
"To sync the LaunchDarkly version, run %s, then edit the file and run ldcli sync %ss or ldcli sync all.", id.Label(), syncbootstrap.AddCommand(id), id.Kind)
0 commit comments