gt-gh 0.1.2 → 0.1.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.
Files changed (89) hide show
  1. package/dist/package.json +1 -1
  2. package/dist/scripts/node_version.js +1 -1
  3. package/dist/src/actions/checkout_branch.js +1 -1
  4. package/dist/src/actions/create_pr_body_footer.d.ts +1 -1
  5. package/dist/src/actions/create_pr_body_footer.js +1 -1
  6. package/dist/src/actions/create_pr_body_footer.js.map +1 -1
  7. package/dist/src/actions/init.js +7 -7
  8. package/dist/src/actions/print_conflict_status.js +2 -2
  9. package/dist/src/actions/submit/prepare_branches.js +1 -1
  10. package/dist/src/actions/submit/submit_action.js +1 -1
  11. package/dist/src/actions/sync/get.js +1 -1
  12. package/dist/src/actions/sync/get.js.map +1 -1
  13. package/dist/src/actions/untrack_branch.js +1 -1
  14. package/dist/src/commands/abort.d.ts +1 -1
  15. package/dist/src/commands/abort.js +1 -1
  16. package/dist/src/commands/auth.d.ts +1 -1
  17. package/dist/src/commands/auth.js +4 -4
  18. package/dist/src/commands/branch-commands/delete.d.ts +1 -1
  19. package/dist/src/commands/branch-commands/delete.js +1 -1
  20. package/dist/src/commands/branch-commands/track.js +2 -2
  21. package/dist/src/commands/branch-commands/untrack.d.ts +1 -1
  22. package/dist/src/commands/branch-commands/untrack.js +1 -1
  23. package/dist/src/commands/checkout.d.ts +4 -4
  24. package/dist/src/commands/checkout.js +2 -2
  25. package/dist/src/commands/continue.d.ts +1 -1
  26. package/dist/src/commands/continue.js +1 -1
  27. package/dist/src/commands/create.d.ts +8 -8
  28. package/dist/src/commands/create.js +6 -6
  29. package/dist/src/commands/delete.d.ts +7 -7
  30. package/dist/src/commands/delete.js +6 -6
  31. package/dist/src/commands/get.d.ts +8 -8
  32. package/dist/src/commands/get.js +4 -4
  33. package/dist/src/commands/info.d.ts +2 -2
  34. package/dist/src/commands/info.js +1 -1
  35. package/dist/src/commands/init.d.ts +1 -1
  36. package/dist/src/commands/init.js +1 -1
  37. package/dist/src/commands/log-commands/default.d.ts +1 -1
  38. package/dist/src/commands/log-commands/default.js +1 -1
  39. package/dist/src/commands/log-commands/short.d.ts +1 -1
  40. package/dist/src/commands/log-commands/short.js +1 -1
  41. package/dist/src/commands/modify.d.ts +8 -8
  42. package/dist/src/commands/modify.js +7 -7
  43. package/dist/src/commands/move.d.ts +4 -4
  44. package/dist/src/commands/move.js +3 -3
  45. package/dist/src/commands/pr.d.ts +2 -2
  46. package/dist/src/commands/pr.js +1 -1
  47. package/dist/src/commands/reorder.d.ts +2 -2
  48. package/dist/src/commands/reorder.js +2 -2
  49. package/dist/src/commands/repo-commands/repo_name.d.ts +3 -3
  50. package/dist/src/commands/repo-commands/repo_name.js +2 -2
  51. package/dist/src/commands/repo-commands/repo_name.js.map +1 -1
  52. package/dist/src/commands/repo-commands/repo_owner.d.ts +3 -3
  53. package/dist/src/commands/repo-commands/repo_owner.js +2 -2
  54. package/dist/src/commands/repo-commands/repo_owner.js.map +1 -1
  55. package/dist/src/commands/repo-commands/repo_remote.d.ts +1 -1
  56. package/dist/src/commands/repo-commands/repo_remote.js +1 -1
  57. package/dist/src/commands/repo.d.ts +1 -1
  58. package/dist/src/commands/repo.js +1 -1
  59. package/dist/src/commands/shared-commands/submit.d.ts +2 -2
  60. package/dist/src/commands/shared-commands/submit.js +1 -1
  61. package/dist/src/commands/submit.d.ts +28 -28
  62. package/dist/src/commands/submit.js +19 -19
  63. package/dist/src/commands/sync.d.ts +2 -2
  64. package/dist/src/commands/sync.js +1 -1
  65. package/dist/src/commands/track.d.ts +1 -1
  66. package/dist/src/commands/track.js +1 -1
  67. package/dist/src/commands/trunk.d.ts +4 -4
  68. package/dist/src/commands/trunk.js +2 -2
  69. package/dist/src/commands/untrack.d.ts +1 -1
  70. package/dist/src/commands/untrack.js +1 -1
  71. package/dist/src/commands/up.d.ts +2 -2
  72. package/dist/src/commands/up.js +1 -1
  73. package/dist/src/commands/user-commands/branch_prefix.d.ts +1 -1
  74. package/dist/src/commands/user-commands/branch_prefix.js +1 -1
  75. package/dist/src/commands/user-commands/editor.d.ts +5 -5
  76. package/dist/src/commands/user-commands/editor.js +4 -4
  77. package/dist/src/commands/user-commands/pager.d.ts +7 -7
  78. package/dist/src/commands/user-commands/pager.js +5 -5
  79. package/dist/src/commands/user-commands/tips.d.ts +1 -1
  80. package/dist/src/commands/user-commands/tips.js +1 -1
  81. package/dist/src/commands/user.d.ts +1 -1
  82. package/dist/src/commands/user.js +1 -1
  83. package/dist/src/index.js +1 -1
  84. package/dist/src/lib/engine/parse_branches_and_meta.js +1 -1
  85. package/dist/src/lib/errors.js +3 -3
  86. package/dist/src/lib/runner.js +2 -2
  87. package/dist/src/lib/spiffy/repo_config_spf.js +4 -4
  88. package/dist/src/lib/spiffy/repo_config_spf.js.map +1 -1
  89. package/package.json +1 -1
@@ -13,12 +13,12 @@ declare const args: {
13
13
  readonly default: true;
14
14
  };
15
15
  readonly 'delete-all': {
16
- readonly describe: "Delete merged or closed branches during get. Not separately configurable in Charcoal.";
16
+ readonly describe: "Delete merged or closed branches during get. Not separately configurable in Graphite.";
17
17
  readonly type: "boolean";
18
18
  readonly default: false;
19
19
  };
20
20
  readonly downstack: {
21
- readonly describe: "Don't sync upstack branches. Charcoal get is downstack-only.";
21
+ readonly describe: "Don't sync upstack branches. Graphite get is downstack-only.";
22
22
  readonly type: "boolean";
23
23
  readonly default: false;
24
24
  readonly alias: "d";
@@ -35,13 +35,13 @@ declare const args: {
35
35
  readonly default: true;
36
36
  };
37
37
  readonly unfrozen: {
38
- readonly describe: "Checkout new branches as unfrozen. Charcoal has no freeze support.";
38
+ readonly describe: "Checkout new branches as unfrozen. Graphite has no freeze support.";
39
39
  readonly type: "boolean";
40
40
  readonly default: false;
41
41
  readonly alias: "U";
42
42
  };
43
43
  readonly 'remote-upstack': {
44
- readonly describe: "Include upstack PRs when fetching. Not supported by Charcoal.";
44
+ readonly describe: "Include upstack PRs when fetching. Not supported by Graphite.";
45
45
  readonly type: "boolean";
46
46
  readonly default: false;
47
47
  readonly alias: "u";
@@ -65,12 +65,12 @@ export declare const builder: {
65
65
  readonly default: true;
66
66
  };
67
67
  readonly 'delete-all': {
68
- readonly describe: "Delete merged or closed branches during get. Not separately configurable in Charcoal.";
68
+ readonly describe: "Delete merged or closed branches during get. Not separately configurable in Graphite.";
69
69
  readonly type: "boolean";
70
70
  readonly default: false;
71
71
  };
72
72
  readonly downstack: {
73
- readonly describe: "Don't sync upstack branches. Charcoal get is downstack-only.";
73
+ readonly describe: "Don't sync upstack branches. Graphite get is downstack-only.";
74
74
  readonly type: "boolean";
75
75
  readonly default: false;
76
76
  readonly alias: "d";
@@ -87,13 +87,13 @@ export declare const builder: {
87
87
  readonly default: true;
88
88
  };
89
89
  readonly unfrozen: {
90
- readonly describe: "Checkout new branches as unfrozen. Charcoal has no freeze support.";
90
+ readonly describe: "Checkout new branches as unfrozen. Graphite has no freeze support.";
91
91
  readonly type: "boolean";
92
92
  readonly default: false;
93
93
  readonly alias: "U";
94
94
  };
95
95
  readonly 'remote-upstack': {
96
- readonly describe: "Include upstack PRs when fetching. Not supported by Charcoal.";
96
+ readonly describe: "Include upstack PRs when fetching. Not supported by Graphite.";
97
97
  readonly type: "boolean";
98
98
  readonly default: false;
99
99
  readonly alias: "u";
@@ -17,12 +17,12 @@ const args = {
17
17
  default: true,
18
18
  },
19
19
  'delete-all': {
20
- describe: 'Delete merged or closed branches during get. Not separately configurable in Charcoal.',
20
+ describe: 'Delete merged or closed branches during get. Not separately configurable in Graphite.',
21
21
  type: 'boolean',
22
22
  default: false,
23
23
  },
24
24
  downstack: {
25
- describe: `Don't sync upstack branches. Charcoal get is downstack-only.`,
25
+ describe: `Don't sync upstack branches. Graphite get is downstack-only.`,
26
26
  type: 'boolean',
27
27
  default: false,
28
28
  alias: 'd',
@@ -39,13 +39,13 @@ const args = {
39
39
  default: true,
40
40
  },
41
41
  unfrozen: {
42
- describe: 'Checkout new branches as unfrozen. Charcoal has no freeze support.',
42
+ describe: 'Checkout new branches as unfrozen. Graphite has no freeze support.',
43
43
  type: 'boolean',
44
44
  default: false,
45
45
  alias: 'U',
46
46
  },
47
47
  'remote-upstack': {
48
- describe: 'Include upstack PRs when fetching. Not supported by Charcoal.',
48
+ describe: 'Include upstack PRs when fetching. Not supported by Graphite.',
49
49
  type: 'boolean',
50
50
  default: false,
51
51
  alias: 'u',
@@ -26,7 +26,7 @@ declare const args: {
26
26
  readonly alias: "p";
27
27
  };
28
28
  readonly stat: {
29
- readonly describe: "Show a diffstat instead of a full diff. Not currently supported by Charcoal.";
29
+ readonly describe: "Show a diffstat instead of a full diff. Not currently supported by Graphite.";
30
30
  readonly default: false;
31
31
  readonly type: "boolean";
32
32
  readonly alias: "s";
@@ -63,7 +63,7 @@ export declare const builder: {
63
63
  readonly alias: "p";
64
64
  };
65
65
  readonly stat: {
66
- readonly describe: "Show a diffstat instead of a full diff. Not currently supported by Charcoal.";
66
+ readonly describe: "Show a diffstat instead of a full diff. Not currently supported by Graphite.";
67
67
  readonly default: false;
68
68
  readonly type: "boolean";
69
69
  readonly alias: "s";
@@ -30,7 +30,7 @@ const args = {
30
30
  alias: 'p',
31
31
  },
32
32
  stat: {
33
- describe: 'Show a diffstat instead of a full diff. Not currently supported by Charcoal.',
33
+ describe: 'Show a diffstat instead of a full diff. Not currently supported by Graphite.',
34
34
  default: false,
35
35
  type: 'boolean',
36
36
  alias: 's',
@@ -15,7 +15,7 @@ declare const args: {
15
15
  declare type argsT = yargs.Arguments<yargs.InferredOptionTypes<typeof args>>;
16
16
  export declare const command = "init";
17
17
  export declare const canonical = "init";
18
- export declare const description = "Initialize Charcoal in this repository by selecting a trunk branch.";
18
+ export declare const description = "Initialize Graphite in this repository by selecting a trunk branch.";
19
19
  export declare const builder: {
20
20
  readonly trunk: {
21
21
  readonly describe: "The name of your trunk branch.";
@@ -18,7 +18,7 @@ const args = {
18
18
  };
19
19
  exports.command = 'init';
20
20
  exports.canonical = 'init';
21
- exports.description = 'Initialize Charcoal in this repository by selecting a trunk branch.';
21
+ exports.description = 'Initialize Graphite in this repository by selecting a trunk branch.';
22
22
  exports.builder = args;
23
23
  const handler = async (argv) => (0, runner_1.graphite)(argv, exports.canonical, async (context) => (0, init_1.init)({ trunk: argv.trunk, reset: argv.reset }, context));
24
24
  exports.handler = handler;
@@ -27,7 +27,7 @@ declare const args: {
27
27
  };
28
28
  };
29
29
  export declare const command = "*";
30
- export declare const description = "Log all branches tracked by Charcoal, showing dependencies and info for each.";
30
+ export declare const description = "Log all branches tracked by Graphite, showing dependencies and info for each.";
31
31
  export declare const builder: {
32
32
  readonly reverse: {
33
33
  readonly describe: "Print the log upside down. Handy when you have a lot of branches!";
@@ -31,7 +31,7 @@ const args = {
31
31
  },
32
32
  };
33
33
  exports.command = '*';
34
- exports.description = 'Log all branches tracked by Charcoal, showing dependencies and info for each.';
34
+ exports.description = 'Log all branches tracked by Graphite, showing dependencies and info for each.';
35
35
  exports.builder = args;
36
36
  exports.canonical = 'log';
37
37
  const handler = async (argv) => (0, runner_1.graphite)(argv, exports.canonical, async (context) => (0, log_1.logAction)({
@@ -33,7 +33,7 @@ declare const args: {
33
33
  };
34
34
  };
35
35
  export declare const command = "short";
36
- export declare const description = "Log all stacks tracked by Charcoal, arranged to show dependencies.";
36
+ export declare const description = "Log all stacks tracked by Graphite, arranged to show dependencies.";
37
37
  export declare const builder: {
38
38
  readonly classic: {
39
39
  readonly type: "boolean";
@@ -38,7 +38,7 @@ const args = {
38
38
  },
39
39
  };
40
40
  exports.command = 'short';
41
- exports.description = 'Log all stacks tracked by Charcoal, arranged to show dependencies.';
41
+ exports.description = 'Log all stacks tracked by Graphite, arranged to show dependencies.';
42
42
  exports.builder = args;
43
43
  exports.aliases = ['s'];
44
44
  exports.canonical = 'log short';
@@ -28,7 +28,7 @@ declare const args: {
28
28
  readonly type: "boolean";
29
29
  };
30
30
  readonly into: {
31
- readonly describe: "The branch to modify instead of the current branch. Not currently supported by Charcoal.";
31
+ readonly describe: "The branch to modify instead of the current branch. Not currently supported by Graphite.";
32
32
  readonly demandOption: false;
33
33
  readonly type: "string";
34
34
  };
@@ -46,20 +46,20 @@ declare const args: {
46
46
  readonly alias: "p";
47
47
  };
48
48
  readonly 'reset-author': {
49
- readonly describe: "Set the author of the commit to the current user if amending. Not currently supported by Charcoal.";
49
+ readonly describe: "Set the author of the commit to the current user if amending. Not currently supported by Graphite.";
50
50
  readonly demandOption: false;
51
51
  readonly default: false;
52
52
  readonly type: "boolean";
53
53
  };
54
54
  readonly update: {
55
- readonly describe: "Stage updates to tracked files before committing. Currently treated like --all in Charcoal.";
55
+ readonly describe: "Stage updates to tracked files before committing. Currently treated like --all in Graphite.";
56
56
  readonly demandOption: false;
57
57
  readonly default: false;
58
58
  readonly type: "boolean";
59
59
  readonly alias: "u";
60
60
  };
61
61
  readonly verbose: {
62
- readonly describe: "Show commit diff in editor. Not currently supported by Charcoal.";
62
+ readonly describe: "Show commit diff in editor. Not currently supported by Graphite.";
63
63
  readonly demandOption: false;
64
64
  readonly count: true;
65
65
  readonly alias: "v";
@@ -98,7 +98,7 @@ export declare const builder: {
98
98
  readonly type: "boolean";
99
99
  };
100
100
  readonly into: {
101
- readonly describe: "The branch to modify instead of the current branch. Not currently supported by Charcoal.";
101
+ readonly describe: "The branch to modify instead of the current branch. Not currently supported by Graphite.";
102
102
  readonly demandOption: false;
103
103
  readonly type: "string";
104
104
  };
@@ -116,20 +116,20 @@ export declare const builder: {
116
116
  readonly alias: "p";
117
117
  };
118
118
  readonly 'reset-author': {
119
- readonly describe: "Set the author of the commit to the current user if amending. Not currently supported by Charcoal.";
119
+ readonly describe: "Set the author of the commit to the current user if amending. Not currently supported by Graphite.";
120
120
  readonly demandOption: false;
121
121
  readonly default: false;
122
122
  readonly type: "boolean";
123
123
  };
124
124
  readonly update: {
125
- readonly describe: "Stage updates to tracked files before committing. Currently treated like --all in Charcoal.";
125
+ readonly describe: "Stage updates to tracked files before committing. Currently treated like --all in Graphite.";
126
126
  readonly demandOption: false;
127
127
  readonly default: false;
128
128
  readonly type: "boolean";
129
129
  readonly alias: "u";
130
130
  };
131
131
  readonly verbose: {
132
- readonly describe: "Show commit diff in editor. Not currently supported by Charcoal.";
132
+ readonly describe: "Show commit diff in editor. Not currently supported by Graphite.";
133
133
  readonly demandOption: false;
134
134
  readonly count: true;
135
135
  readonly alias: "v";
@@ -35,7 +35,7 @@ const args = {
35
35
  type: 'boolean',
36
36
  },
37
37
  into: {
38
- describe: `The branch to modify instead of the current branch. Not currently supported by Charcoal.`,
38
+ describe: `The branch to modify instead of the current branch. Not currently supported by Graphite.`,
39
39
  demandOption: false,
40
40
  type: 'string',
41
41
  },
@@ -53,20 +53,20 @@ const args = {
53
53
  alias: 'p',
54
54
  },
55
55
  'reset-author': {
56
- describe: `Set the author of the commit to the current user if amending. Not currently supported by Charcoal.`,
56
+ describe: `Set the author of the commit to the current user if amending. Not currently supported by Graphite.`,
57
57
  demandOption: false,
58
58
  default: false,
59
59
  type: 'boolean',
60
60
  },
61
61
  update: {
62
- describe: `Stage updates to tracked files before committing. Currently treated like --all in Charcoal.`,
62
+ describe: `Stage updates to tracked files before committing. Currently treated like --all in Graphite.`,
63
63
  demandOption: false,
64
64
  default: false,
65
65
  type: 'boolean',
66
66
  alias: 'u',
67
67
  },
68
68
  verbose: {
69
- describe: `Show commit diff in editor. Not currently supported by Charcoal.`,
69
+ describe: `Show commit diff in editor. Not currently supported by Graphite.`,
70
70
  demandOption: false,
71
71
  count: true,
72
72
  alias: 'v',
@@ -78,13 +78,13 @@ exports.description = 'Modify the current branch by amending its commit or creat
78
78
  exports.builder = args;
79
79
  const handler = async (argv) => (0, runner_1.graphite)(argv, exports.canonical, async (context) => {
80
80
  if (argv.into) {
81
- throw new errors_1.ExitFailedError('Charcoal does not support gt modify --into.');
81
+ throw new errors_1.ExitFailedError('Graphite does not support gt modify --into.');
82
82
  }
83
83
  if (argv['reset-author']) {
84
- throw new errors_1.ExitFailedError('Charcoal does not support gt modify --reset-author.');
84
+ throw new errors_1.ExitFailedError('Graphite does not support gt modify --reset-author.');
85
85
  }
86
86
  if (argv.verbose) {
87
- throw new errors_1.ExitFailedError('Charcoal does not support gt modify --verbose.');
87
+ throw new errors_1.ExitFailedError('Graphite does not support gt modify --verbose.');
88
88
  }
89
89
  if (argv['interactive-rebase']) {
90
90
  return (0, edit_branch_1.editBranchAction)(context);
@@ -1,13 +1,13 @@
1
1
  import yargs from 'yargs';
2
2
  declare const args: {
3
3
  readonly all: {
4
- readonly describe: "Show branches across all configured trunks in interactive selection. Charcoal has one trunk.";
4
+ readonly describe: "Show branches across all configured trunks in interactive selection. Graphite has one trunk.";
5
5
  readonly type: "boolean";
6
6
  readonly default: false;
7
7
  readonly alias: "a";
8
8
  };
9
9
  readonly only: {
10
- readonly describe: "Only move this branch. Not supported by Charcoal; descendants are restacked.";
10
+ readonly describe: "Only move this branch. Not supported by Graphite; descendants are restacked.";
11
11
  readonly type: "boolean";
12
12
  readonly default: false;
13
13
  };
@@ -28,13 +28,13 @@ export declare const canonical = "move";
28
28
  export declare const description = "Rebase the current branch onto the target branch and restack all descendants.";
29
29
  export declare const builder: {
30
30
  readonly all: {
31
- readonly describe: "Show branches across all configured trunks in interactive selection. Charcoal has one trunk.";
31
+ readonly describe: "Show branches across all configured trunks in interactive selection. Graphite has one trunk.";
32
32
  readonly type: "boolean";
33
33
  readonly default: false;
34
34
  readonly alias: "a";
35
35
  };
36
36
  readonly only: {
37
- readonly describe: "Only move this branch. Not supported by Charcoal; descendants are restacked.";
37
+ readonly describe: "Only move this branch. Not supported by Graphite; descendants are restacked.";
38
38
  readonly type: "boolean";
39
39
  readonly default: false;
40
40
  };
@@ -11,13 +11,13 @@ const errors_1 = require("../lib/errors");
11
11
  const runner_1 = require("../lib/runner");
12
12
  const args = {
13
13
  all: {
14
- describe: 'Show branches across all configured trunks in interactive selection. Charcoal has one trunk.',
14
+ describe: 'Show branches across all configured trunks in interactive selection. Graphite has one trunk.',
15
15
  type: 'boolean',
16
16
  default: false,
17
17
  alias: 'a',
18
18
  },
19
19
  only: {
20
- describe: 'Only move this branch. Not supported by Charcoal; descendants are restacked.',
20
+ describe: 'Only move this branch. Not supported by Graphite; descendants are restacked.',
21
21
  type: 'boolean',
22
22
  default: false,
23
23
  },
@@ -38,7 +38,7 @@ exports.description = 'Rebase the current branch onto the target branch and rest
38
38
  exports.builder = args;
39
39
  const handler = async (argv) => (0, runner_1.graphite)(argv, exports.canonical, async (context) => {
40
40
  if (argv.only) {
41
- throw new errors_1.ExitFailedError('Charcoal does not support gt move --only.');
41
+ throw new errors_1.ExitFailedError('Graphite does not support gt move --only.');
42
42
  }
43
43
  const originalBranch = argv.source
44
44
  ? context.engine.currentBranch
@@ -8,7 +8,7 @@ declare const args: {
8
8
  readonly hidden: true;
9
9
  };
10
10
  readonly stack: {
11
- readonly describe: "Open the stack page. Charcoal opens the GitHub PR page for the branch.";
11
+ readonly describe: "Open the stack page. Graphite opens the GitHub PR page for the branch.";
12
12
  readonly type: "boolean";
13
13
  readonly default: false;
14
14
  };
@@ -26,7 +26,7 @@ export declare const builder: {
26
26
  readonly hidden: true;
27
27
  };
28
28
  readonly stack: {
29
- readonly describe: "Open the stack page. Charcoal opens the GitHub PR page for the branch.";
29
+ readonly describe: "Open the stack page. Graphite opens the GitHub PR page for the branch.";
30
30
  readonly type: "boolean";
31
31
  readonly default: false;
32
32
  };
@@ -12,7 +12,7 @@ const args = {
12
12
  hidden: true,
13
13
  },
14
14
  stack: {
15
- describe: 'Open the stack page. Charcoal opens the GitHub PR page for the branch.',
15
+ describe: 'Open the stack page. Graphite opens the GitHub PR page for the branch.',
16
16
  type: 'boolean',
17
17
  default: false,
18
18
  },
@@ -1,7 +1,7 @@
1
1
  import yargs from 'yargs';
2
2
  declare const args: {
3
3
  readonly stack: {
4
- readonly describe: "Include every upstack branch through the tip. Not supported by Charcoal reorder.";
4
+ readonly describe: "Include every upstack branch through the tip. Not supported by Graphite reorder.";
5
5
  readonly type: "boolean";
6
6
  readonly default: false;
7
7
  };
@@ -12,7 +12,7 @@ export declare const canonical = "reorder";
12
12
  export declare const description = "Reorder branches between trunk and the current branch, restacking descendants.";
13
13
  export declare const builder: {
14
14
  readonly stack: {
15
- readonly describe: "Include every upstack branch through the tip. Not supported by Charcoal reorder.";
15
+ readonly describe: "Include every upstack branch through the tip. Not supported by Graphite reorder.";
16
16
  readonly type: "boolean";
17
17
  readonly default: false;
18
18
  };
@@ -6,7 +6,7 @@ const errors_1 = require("../lib/errors");
6
6
  const runner_1 = require("../lib/runner");
7
7
  const args = {
8
8
  stack: {
9
- describe: 'Include every upstack branch through the tip. Not supported by Charcoal reorder.',
9
+ describe: 'Include every upstack branch through the tip. Not supported by Graphite reorder.',
10
10
  type: 'boolean',
11
11
  default: false,
12
12
  },
@@ -17,7 +17,7 @@ exports.description = 'Reorder branches between trunk and the current branch, re
17
17
  exports.builder = args;
18
18
  const handler = async (argv) => (0, runner_1.graphite)(argv, exports.canonical, async (context) => {
19
19
  if (argv.stack) {
20
- throw new errors_1.ExitFailedError('Charcoal does not support gt reorder --stack.');
20
+ throw new errors_1.ExitFailedError('Graphite does not support gt reorder --stack.');
21
21
  }
22
22
  await (0, edit_downstack_1.editDownstack)(undefined, context);
23
23
  });
@@ -4,19 +4,19 @@ declare const args: {
4
4
  readonly optional: true;
5
5
  readonly type: "string";
6
6
  readonly alias: "s";
7
- readonly describe: "Override the value of the repo's name in the Charcoal config. This is expected to match the name of the repo on GitHub and should only be set in cases where Charcoal is incorrectly inferring the repo name.";
7
+ readonly describe: "Override the value of the repo's name in the Graphite config. This is expected to match the name of the repo on GitHub and should only be set in cases where Graphite is incorrectly inferring the repo name.";
8
8
  };
9
9
  };
10
10
  declare type argsT = yargs.Arguments<yargs.InferredOptionTypes<typeof args>>;
11
11
  export declare const command = "name";
12
12
  export declare const canonical = "repo name";
13
- export declare const description = "The current repo's name stored in Charcoal. e.g. in 'danerwilliams/charcoal', this is 'charcoal'.";
13
+ export declare const description = "The current repo's name stored in Graphite. e.g. in 'tianrendong/gt-gh', this is 'gt-gh'.";
14
14
  export declare const builder: {
15
15
  readonly set: {
16
16
  readonly optional: true;
17
17
  readonly type: "string";
18
18
  readonly alias: "s";
19
- readonly describe: "Override the value of the repo's name in the Charcoal config. This is expected to match the name of the repo on GitHub and should only be set in cases where Charcoal is incorrectly inferring the repo name.";
19
+ readonly describe: "Override the value of the repo's name in the Graphite config. This is expected to match the name of the repo on GitHub and should only be set in cases where Graphite is incorrectly inferring the repo name.";
20
20
  };
21
21
  };
22
22
  export declare const handler: (argv: argsT) => Promise<void>;
@@ -7,12 +7,12 @@ const args = {
7
7
  optional: true,
8
8
  type: 'string',
9
9
  alias: 's',
10
- describe: "Override the value of the repo's name in the Charcoal config. This is expected to match the name of the repo on GitHub and should only be set in cases where Charcoal is incorrectly inferring the repo name.",
10
+ describe: "Override the value of the repo's name in the Graphite config. This is expected to match the name of the repo on GitHub and should only be set in cases where Graphite is incorrectly inferring the repo name.",
11
11
  },
12
12
  };
13
13
  exports.command = 'name';
14
14
  exports.canonical = 'repo name';
15
- exports.description = "The current repo's name stored in Charcoal. e.g. in 'danerwilliams/charcoal', this is 'charcoal'.";
15
+ exports.description = "The current repo's name stored in Graphite. e.g. in 'tianrendong/gt-gh', this is 'gt-gh'.";
16
16
  exports.builder = args;
17
17
  const handler = async (argv) => {
18
18
  return (0, runner_1.graphite)(argv, exports.canonical, async (context) => {
@@ -1 +1 @@
1
- {"version":3,"file":"repo_name.js","sourceRoot":"","sources":["../../../../src/commands/repo-commands/repo_name.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE5C,MAAM,IAAI,GAAG;IACX,GAAG,EAAE;QACH,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,GAAG;QACV,QAAQ,EACN,+MAA+M;KAClN;CACO,CAAC;AAIE,QAAA,OAAO,GAAG,MAAM,CAAC;AACjB,QAAA,SAAS,GAAG,WAAW,CAAC;AACxB,QAAA,WAAW,GACtB,mGAAmG,CAAC;AACzF,QAAA,OAAO,GAAG,IAAI,CAAC;AACrB,MAAM,OAAO,GAAG,KAAK,EAAE,IAAW,EAAiB,EAAE;IAC1D,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,iBAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;QACjD,IAAI,IAAI,CAAC,GAAG,EAAE;YACZ,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;SAC7D;aAAM;YACL,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;SACtD;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AARW,QAAA,OAAO,WAQlB"}
1
+ {"version":3,"file":"repo_name.js","sourceRoot":"","sources":["../../../../src/commands/repo-commands/repo_name.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE5C,MAAM,IAAI,GAAG;IACX,GAAG,EAAE;QACH,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,GAAG;QACV,QAAQ,EACN,+MAA+M;KAClN;CACO,CAAC;AAIE,QAAA,OAAO,GAAG,MAAM,CAAC;AACjB,QAAA,SAAS,GAAG,WAAW,CAAC;AACxB,QAAA,WAAW,GACtB,2FAA2F,CAAC;AACjF,QAAA,OAAO,GAAG,IAAI,CAAC;AACrB,MAAM,OAAO,GAAG,KAAK,EAAE,IAAW,EAAiB,EAAE;IAC1D,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,iBAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;QACjD,IAAI,IAAI,CAAC,GAAG,EAAE;YACZ,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;SAC7D;aAAM;YACL,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;SACtD;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AARW,QAAA,OAAO,WAQlB"}
@@ -4,19 +4,19 @@ declare const args: {
4
4
  readonly optional: false;
5
5
  readonly type: "string";
6
6
  readonly alias: "s";
7
- readonly describe: "Override the value of the repo owner's name in the Charcoal config. This is expected to match the name of the repo owner on GitHub and should only be set in cases where Charcoal is incorrectly inferring the repo owner's name.";
7
+ readonly describe: "Override the value of the repo owner's name in the Graphite config. This is expected to match the name of the repo owner on GitHub and should only be set in cases where Graphite is incorrectly inferring the repo owner's name.";
8
8
  };
9
9
  };
10
10
  declare type argsT = yargs.Arguments<yargs.InferredOptionTypes<typeof args>>;
11
11
  export declare const command = "owner";
12
12
  export declare const canonical = "repo owner";
13
- export declare const description = "The current repo owner's name stored in Charcoal. e.g. in 'danerwilliams/charcoal', this is 'charcoal'.";
13
+ export declare const description = "The current repo owner's name stored in Graphite. e.g. in 'tianrendong/gt-gh', this is 'tianrendong'.";
14
14
  export declare const builder: {
15
15
  readonly set: {
16
16
  readonly optional: false;
17
17
  readonly type: "string";
18
18
  readonly alias: "s";
19
- readonly describe: "Override the value of the repo owner's name in the Charcoal config. This is expected to match the name of the repo owner on GitHub and should only be set in cases where Charcoal is incorrectly inferring the repo owner's name.";
19
+ readonly describe: "Override the value of the repo owner's name in the Graphite config. This is expected to match the name of the repo owner on GitHub and should only be set in cases where Graphite is incorrectly inferring the repo owner's name.";
20
20
  };
21
21
  };
22
22
  export declare const handler: (argv: argsT) => Promise<void>;
@@ -7,12 +7,12 @@ const args = {
7
7
  optional: false,
8
8
  type: 'string',
9
9
  alias: 's',
10
- describe: "Override the value of the repo owner's name in the Charcoal config. This is expected to match the name of the repo owner on GitHub and should only be set in cases where Charcoal is incorrectly inferring the repo owner's name.",
10
+ describe: "Override the value of the repo owner's name in the Graphite config. This is expected to match the name of the repo owner on GitHub and should only be set in cases where Graphite is incorrectly inferring the repo owner's name.",
11
11
  },
12
12
  };
13
13
  exports.command = 'owner';
14
14
  exports.canonical = 'repo owner';
15
- exports.description = "The current repo owner's name stored in Charcoal. e.g. in 'danerwilliams/charcoal', this is 'charcoal'.";
15
+ exports.description = "The current repo owner's name stored in Graphite. e.g. in 'tianrendong/gt-gh', this is 'tianrendong'.";
16
16
  exports.builder = args;
17
17
  const handler = async (argv) => {
18
18
  return (0, runner_1.graphite)(argv, exports.canonical, async (context) => {
@@ -1 +1 @@
1
- {"version":3,"file":"repo_owner.js","sourceRoot":"","sources":["../../../../src/commands/repo-commands/repo_owner.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE5C,MAAM,IAAI,GAAG;IACX,GAAG,EAAE;QACH,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,GAAG;QACV,QAAQ,EACN,mOAAmO;KACtO;CACO,CAAC;AAIE,QAAA,OAAO,GAAG,OAAO,CAAC;AAClB,QAAA,SAAS,GAAG,YAAY,CAAC;AACzB,QAAA,WAAW,GACtB,yGAAyG,CAAC;AAC/F,QAAA,OAAO,GAAG,IAAI,CAAC;AACrB,MAAM,OAAO,GAAG,KAAK,EAAE,IAAW,EAAiB,EAAE;IAC1D,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,iBAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;QACjD,IAAI,IAAI,CAAC,GAAG,EAAE;YACZ,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;SAC9D;aAAM;YACL,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,EAAE,CAAC,CAAC;SACvD;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AARW,QAAA,OAAO,WAQlB"}
1
+ {"version":3,"file":"repo_owner.js","sourceRoot":"","sources":["../../../../src/commands/repo-commands/repo_owner.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE5C,MAAM,IAAI,GAAG;IACX,GAAG,EAAE;QACH,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,GAAG;QACV,QAAQ,EACN,mOAAmO;KACtO;CACO,CAAC;AAIE,QAAA,OAAO,GAAG,OAAO,CAAC;AAClB,QAAA,SAAS,GAAG,YAAY,CAAC;AACzB,QAAA,WAAW,GACtB,uGAAuG,CAAC;AAC7F,QAAA,OAAO,GAAG,IAAI,CAAC;AACrB,MAAM,OAAO,GAAG,KAAK,EAAE,IAAW,EAAiB,EAAE;IAC1D,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,iBAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;QACjD,IAAI,IAAI,CAAC,GAAG,EAAE;YACZ,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;SAC9D;aAAM;YACL,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,EAAE,CAAC,CAAC;SACvD;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AARW,QAAA,OAAO,WAQlB"}
@@ -10,7 +10,7 @@ declare const args: {
10
10
  declare type argsT = yargs.Arguments<yargs.InferredOptionTypes<typeof args>>;
11
11
  export declare const command = "remote";
12
12
  export declare const canonical = "repo remote";
13
- export declare const description = "Specifies the remote that Charcoal pushes to/pulls from (defaults to 'origin')";
13
+ export declare const description = "Specifies the remote that Graphite pushes to/pulls from (defaults to 'origin')";
14
14
  export declare const builder: {
15
15
  readonly set: {
16
16
  readonly optional: false;
@@ -12,7 +12,7 @@ const args = {
12
12
  };
13
13
  exports.command = 'remote';
14
14
  exports.canonical = 'repo remote';
15
- exports.description = "Specifies the remote that Charcoal pushes to/pulls from (defaults to 'origin')";
15
+ exports.description = "Specifies the remote that Graphite pushes to/pulls from (defaults to 'origin')";
16
16
  exports.builder = args;
17
17
  const handler = async (argv) => {
18
18
  return (0, runner_1.graphite)(argv, exports.canonical, async (context) => {
@@ -1,5 +1,5 @@
1
1
  import { Argv } from 'yargs';
2
2
  export declare const aliases: string[];
3
3
  export declare const command = "repo <command>";
4
- export declare const desc = "Read or write Charcoal's configuration settings for the current repo. Run `gt repo --help` to learn more.";
4
+ export declare const desc = "Read or write Graphite's configuration settings for the current repo. Run `gt repo --help` to learn more.";
5
5
  export declare const builder: (yargs: Argv) => Argv;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.builder = exports.desc = exports.command = exports.aliases = void 0;
4
4
  exports.aliases = ['r'];
5
5
  exports.command = 'repo <command>';
6
- exports.desc = "Read or write Charcoal's configuration settings for the current repo. Run `gt repo --help` to learn more.";
6
+ exports.desc = "Read or write Graphite's configuration settings for the current repo. Run `gt repo --help` to learn more.";
7
7
  const builder = function (yargs) {
8
8
  return yargs
9
9
  .commandDir('repo-commands', {
@@ -79,7 +79,7 @@ export declare const args: {
79
79
  readonly alias: "f";
80
80
  };
81
81
  readonly always: {
82
- readonly describe: "Always push updates, even if the branch has not changed. Can be helpful for fixing an inconsistent Charcoal stack view on Web/GitHub resulting from downtime/a bug.";
82
+ readonly describe: "Always push updates, even if the branch has not changed. Can be helpful for fixing an inconsistent Graphite stack view on Web/GitHub resulting from downtime/a bug.";
83
83
  readonly type: "boolean";
84
84
  readonly default: false;
85
85
  };
@@ -148,7 +148,7 @@ export declare const builder: {
148
148
  readonly alias: "f";
149
149
  };
150
150
  readonly always: {
151
- readonly describe: "Always push updates, even if the branch has not changed. Can be helpful for fixing an inconsistent Charcoal stack view on Web/GitHub resulting from downtime/a bug.";
151
+ readonly describe: "Always push updates, even if the branch has not changed. Can be helpful for fixing an inconsistent Graphite stack view on Web/GitHub resulting from downtime/a bug.";
152
152
  readonly type: "boolean";
153
153
  readonly default: false;
154
154
  };
@@ -81,7 +81,7 @@ exports.args = {
81
81
  alias: 'f',
82
82
  },
83
83
  always: {
84
- describe: 'Always push updates, even if the branch has not changed. Can be helpful for fixing an inconsistent Charcoal stack view on Web/GitHub resulting from downtime/a bug.',
84
+ describe: 'Always push updates, even if the branch has not changed. Can be helpful for fixing an inconsistent Graphite stack view on Web/GitHub resulting from downtime/a bug.',
85
85
  type: 'boolean',
86
86
  default: false,
87
87
  },