@sanity/cli 3.60.0 → 3.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/_chunks-cjs/cli.js
CHANGED
@@ -45048,6 +45048,15 @@ Examples
|
|
45048
45048
|
context
|
45049
45049
|
) : await installDeclaredPackages(workDir, pkgManager.chosen, context);
|
45050
45050
|
}
|
45051
|
+
}, learnCommand = {
|
45052
|
+
name: "learn",
|
45053
|
+
helpText: "",
|
45054
|
+
signature: "learn",
|
45055
|
+
description: "Opens Sanity Learn in your web browser",
|
45056
|
+
async action(args, context) {
|
45057
|
+
const { output } = context, { print } = output, url2 = "https://www.sanity.io/learn";
|
45058
|
+
print(`Opening ${url2}`), await open$1(url2);
|
45059
|
+
}
|
45051
45060
|
}, helpText$7 = `
|
45052
45061
|
Options
|
45053
45062
|
--sso <slug> Log in using Single Sign On, using the given slug
|
@@ -45826,6 +45835,7 @@ const baseCommands = [
|
|
45826
45835
|
debugCommand,
|
45827
45836
|
command$1,
|
45828
45837
|
projectGroup,
|
45838
|
+
learnCommand,
|
45829
45839
|
listProjectsCommand,
|
45830
45840
|
codemodCommand,
|
45831
45841
|
telemetryGroup,
|