@scheduler-systems/gal-run 0.0.566 → 0.0.568
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/dist/index.cjs +5 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3955,7 +3955,7 @@ var cliVersion, defaultApiUrl, BUILD_CONSTANTS, constants_default;
|
|
|
3955
3955
|
var init_constants = __esm({
|
|
3956
3956
|
"module_6"() {
|
|
3957
3957
|
"use strict";
|
|
3958
|
-
cliVersion = true ? "0.0.
|
|
3958
|
+
cliVersion = true ? "0.0.568" : "0.0.0-dev";
|
|
3959
3959
|
defaultApiUrl = true ? "https://api.gal.run" : "http://localhost:3000";
|
|
3960
3960
|
BUILD_CONSTANTS = Object.freeze([cliVersion, defaultApiUrl]);
|
|
3961
3961
|
constants_default = BUILD_CONSTANTS;
|
|
@@ -11858,7 +11858,7 @@ function detectEnvironment() {
|
|
|
11858
11858
|
return "dev";
|
|
11859
11859
|
}
|
|
11860
11860
|
try {
|
|
11861
|
-
const version2 = true ? "0.0.
|
|
11861
|
+
const version2 = true ? "0.0.568" : void 0;
|
|
11862
11862
|
if (version2 && version2.includes("-local")) {
|
|
11863
11863
|
return "dev";
|
|
11864
11864
|
}
|
|
@@ -14539,7 +14539,7 @@ function getId() {
|
|
|
14539
14539
|
}
|
|
14540
14540
|
function getCliVersion() {
|
|
14541
14541
|
try {
|
|
14542
|
-
return true ? "0.0.
|
|
14542
|
+
return true ? "0.0.568" : "0.0.0-dev";
|
|
14543
14543
|
} catch {
|
|
14544
14544
|
return "0.0.0-dev";
|
|
14545
14545
|
}
|
|
@@ -58223,7 +58223,7 @@ function startCallbackServer(timeout = 12e4) {
|
|
|
58223
58223
|
}
|
|
58224
58224
|
function createAuthCommand() {
|
|
58225
58225
|
const auth = new Command("auth").description("Manage GitHub authentication");
|
|
58226
|
-
auth.command("login").description("Authenticate with GitHub OAuth
|
|
58226
|
+
auth.command("login").description("Authenticate with GitHub OAuth").option("--token <token>", "Authenticate with a pre-existing JWT token (non-interactive)").option("--ci", "CI mode: read token from GAL_TOKEN or GITHUB_TOKEN environment variable").option("--print-url", "Print the OAuth URL as JSON and wait for callback (let the caller open the browser)").action(async (options) => {
|
|
58227
58227
|
console.log(source_default.green("\n\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550"));
|
|
58228
58228
|
console.log(source_default.green(" GAL CLI - GitHub Authentication"));
|
|
58229
58229
|
console.log(source_default.green("\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n"));
|
|
@@ -80952,7 +80952,7 @@ var init_index = __esm({
|
|
|
80952
80952
|
}
|
|
80953
80953
|
});
|
|
80954
80954
|
|
|
80955
|
-
var cliVersion11 = true ? "0.0.
|
|
80955
|
+
var cliVersion11 = true ? "0.0.568" : "0.0.0-dev";
|
|
80956
80956
|
var args = process.argv.slice(2);
|
|
80957
80957
|
var requestedGlobalHelp = args.length === 1 && (args[0] === "--help" || args[0] === "-h");
|
|
80958
80958
|
var requestedVersion = args.length === 1 && (args[0] === "--version" || args[0] === "-V");
|
package/package.json
CHANGED