@fern-api/fern-api-dev 3.59.0 → 3.59.1
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/cli.cjs +10 -5
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1678852,7 +1678852,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1678852
1678852
|
properties: {
|
|
1678853
1678853
|
...event,
|
|
1678854
1678854
|
...event.properties,
|
|
1678855
|
-
version: "3.59.
|
|
1678855
|
+
version: "3.59.1",
|
|
1678856
1678856
|
usingAccessToken: true
|
|
1678857
1678857
|
}
|
|
1678858
1678858
|
});
|
|
@@ -1678902,7 +1678902,7 @@ var UserPosthogManager = class {
|
|
|
1678902
1678902
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1678903
1678903
|
event: "CLI",
|
|
1678904
1678904
|
properties: {
|
|
1678905
|
-
version: "3.59.
|
|
1678905
|
+
version: "3.59.1",
|
|
1678906
1678906
|
...event,
|
|
1678907
1678907
|
...event.properties,
|
|
1678908
1678908
|
usingAccessToken: false,
|
|
@@ -1710824,7 +1710824,7 @@ var CliContext = class {
|
|
|
1710824
1710824
|
if (false) {
|
|
1710825
1710825
|
this.logger.error("CLI_VERSION is not defined");
|
|
1710826
1710826
|
}
|
|
1710827
|
-
return "3.59.
|
|
1710827
|
+
return "3.59.1";
|
|
1710828
1710828
|
}
|
|
1710829
1710829
|
getCliName() {
|
|
1710830
1710830
|
if (false) {
|
|
@@ -1713938,7 +1713938,7 @@ var import_path56 = __toESM(require("path"), 1);
|
|
|
1713938
1713938
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1713939
1713939
|
var LOGS_FOLDER_NAME = "logs";
|
|
1713940
1713940
|
function getCliSource() {
|
|
1713941
|
-
const version7 = "3.59.
|
|
1713941
|
+
const version7 = "3.59.1";
|
|
1713942
1713942
|
return `cli@${version7}`;
|
|
1713943
1713943
|
}
|
|
1713944
1713944
|
var DebugLogger = class {
|
|
@@ -1741383,7 +1741383,12 @@ async function runCli() {
|
|
|
1741383
1741383
|
await exit3();
|
|
1741384
1741384
|
}
|
|
1741385
1741385
|
async function tryRunCli(cliContext) {
|
|
1741386
|
-
const
|
|
1741386
|
+
const args = hideBin(process.argv);
|
|
1741387
|
+
if (args[0] === "completion") {
|
|
1741388
|
+
yargs_default2(args).scriptName(cliContext.environment.cliName).completion("completion", "Generate shell completion script").parse();
|
|
1741389
|
+
return;
|
|
1741390
|
+
}
|
|
1741391
|
+
const cli = yargs_default2(args).scriptName(cliContext.environment.cliName).version(false).completion("completion", "Generate shell completion script").fail((message, error49, argv) => {
|
|
1741387
1741392
|
if (error49 == null) {
|
|
1741388
1741393
|
argv.showHelp();
|
|
1741389
1741394
|
cliContext.logger.error(message);
|
package/package.json
CHANGED