@positronic/cli 0.0.76 → 0.0.77

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/src/cli.js CHANGED
@@ -497,7 +497,10 @@ export function buildCli(options) {
497
497
  render(element);
498
498
  });
499
499
  // --- Rerun Brain Command ---
500
- cli = cli.command('rerun <run-id>', 'Rerun an existing brain run from a specific step\n', function(yargsRerun) {
500
+ cli = cli.command([
501
+ 'rerun <run-id>',
502
+ 'rr <run-id>'
503
+ ], 'Rerun an existing brain run from a specific step\n', function(yargsRerun) {
501
504
  return yargsRerun.positional('run-id', {
502
505
  describe: 'ID of the brain run to rerun',
503
506
  type: 'string',
@@ -628,7 +631,10 @@ export function buildCli(options) {
628
631
  }, function(argv) {
629
632
  var element = brainCommand.show(argv);
630
633
  render(element);
631
- }).command('rerun <run-id>', 'Rerun an existing brain run from a specific step\n', function(yargsRerun) {
634
+ }).command([
635
+ 'rerun <run-id>',
636
+ 'rr <run-id>'
637
+ ], 'Rerun an existing brain run from a specific step\n', function(yargsRerun) {
632
638
  return yargsRerun.positional('run-id', {
633
639
  describe: 'ID of the brain run to rerun',
634
640
  type: 'string',
@@ -73,7 +73,7 @@ var StepTree = function(param) {
73
73
  marginLeft: 1
74
74
  }, /*#__PURE__*/ React.createElement(Text, {
75
75
  color: "gray"
76
- }, " ", step.title), step.type === 'loop' && /*#__PURE__*/ React.createElement(Text, {
76
+ }, index + 1, ". ", step.title), step.type === 'loop' && /*#__PURE__*/ React.createElement(Text, {
77
77
  dimColor: true
78
78
  }, " (loop)")), step.innerBrain && /*#__PURE__*/ React.createElement(Box, {
79
79
  marginLeft: 2,
@@ -1 +1 @@
1
- {"version":3,"file":"brain-show.d.ts","sourceRoot":"","sources":["../../../src/components/brain-show.tsx"],"names":[],"mappings":"AAqIA,UAAU,cAAc;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,GAAI,2BAA2B,cAAc,4CAsFlE,CAAC;AAGF,UAAU,cAAc;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB;AAGD,eAAO,MAAM,SAAS,GAAI,2BAA2B,cAAc,4CAQlE,CAAC"}
1
+ {"version":3,"file":"brain-show.d.ts","sourceRoot":"","sources":["../../../src/components/brain-show.tsx"],"names":[],"mappings":"AAuIA,UAAU,cAAc;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,GAAI,2BAA2B,cAAc,4CAsFlE,CAAC;AAGF,UAAU,cAAc;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB;AAGD,eAAO,MAAM,SAAS,GAAI,2BAA2B,cAAc,4CAQlE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@positronic/cli",
3
- "version": "0.0.76",
3
+ "version": "0.0.77",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -23,9 +23,9 @@
23
23
  "clean": "rm -rf tsconfig.tsbuildinfo dist node_modules"
24
24
  },
25
25
  "dependencies": {
26
- "@positronic/core": "^0.0.76",
27
- "@positronic/spec": "^0.0.76",
28
- "@positronic/template-new-project": "^0.0.76",
26
+ "@positronic/core": "^0.0.77",
27
+ "@positronic/spec": "^0.0.77",
28
+ "@positronic/template-new-project": "^0.0.77",
29
29
  "caz": "^2.0.0",
30
30
  "chokidar": "^3.6.0",
31
31
  "dotenv": "^16.4.7",