git-stack-cli 2.2.2 → 2.2.3
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/js/index.js
CHANGED
|
@@ -37813,7 +37813,7 @@ function Url(props) {
|
|
|
37813
37813
|
import fs7 from "node:fs";
|
|
37814
37814
|
import path4 from "node:path";
|
|
37815
37815
|
function is_command_available(command) {
|
|
37816
|
-
const PATH =
|
|
37816
|
+
const PATH = process.env["PATH"];
|
|
37817
37817
|
invariant(PATH, "PATH env must exist");
|
|
37818
37818
|
const path_list = PATH.split(path4.delimiter);
|
|
37819
37819
|
for (const dir of path_list) {
|
|
@@ -45646,7 +45646,7 @@ var yargs_default = Yargs;
|
|
|
45646
45646
|
|
|
45647
45647
|
// src/command.ts
|
|
45648
45648
|
async function command2() {
|
|
45649
|
-
return yargs_default(hideBin(process.argv)).usage("Usage: git stack [command] [options]").command("$0", "Sync commit ranges to Github", (yargs) => yargs.options(DefaultOptions)).command("fixup [commit]", "Amend staged changes to a specific commit in history", (yargs) => yargs.positional("commit", FixupOptions.commit)).command("log [args...]", "Print an abbreviated log with numbered commits, useful for git stack fixup", (yargs) => yargs.strict(false)).command("rebase", "Update local branch via rebase with latest changes from origin master branch", (yargs) => yargs).option("verbose", GlobalOptions.verbose).wrap(123).strict().version("2.2.
|
|
45649
|
+
return yargs_default(hideBin(process.argv)).usage("Usage: git stack [command] [options]").command("$0", "Sync commit ranges to Github", (yargs) => yargs.options(DefaultOptions)).command("fixup [commit]", "Amend staged changes to a specific commit in history", (yargs) => yargs.positional("commit", FixupOptions.commit)).command("log [args...]", "Print an abbreviated log with numbered commits, useful for git stack fixup", (yargs) => yargs.strict(false)).command("rebase", "Update local branch via rebase with latest changes from origin master branch", (yargs) => yargs).option("verbose", GlobalOptions.verbose).wrap(123).strict().version("2.2.3").showHidden("show-hidden", "Show hidden options via `git stack help --show-hidden`").help("help", "Show usage via `git stack help`").argv;
|
|
45650
45650
|
}
|
|
45651
45651
|
var GlobalOptions = {
|
|
45652
45652
|
verbose: {
|
package/package.json
CHANGED