@staff0rd/assist 0.69.0 → 0.70.0

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 (2) hide show
  1. package/dist/index.js +3 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { Command } from "commander";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "@staff0rd/assist",
9
- version: "0.69.0",
9
+ version: "0.70.0",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -5613,13 +5613,10 @@ var configCommand = program.command("config").description("View and modify assis
5613
5613
  configCommand.command("set <key> <value>").description("Set a config value (e.g. commit.push true)").action(configSet);
5614
5614
  configCommand.command("get <key>").description("Get a config value").action(configGet);
5615
5615
  configCommand.command("list").description("List all config values").action(configList);
5616
- var runCommand = program.command("run").description("Run a configured command from assist.yml").argument("[name]", "Name of the configured command").argument("[args...]", "Arguments to pass to the command").allowUnknownOption().action((name, args) => {
5617
- if (!name) {
5618
- listRunConfigs();
5619
- return;
5620
- }
5616
+ var runCommand = program.command("run").description("Run a configured command from assist.yml").argument("<name>", "Name of the configured command").argument("[args...]", "Arguments to pass to the command").allowUnknownOption().action((name, args) => {
5621
5617
  run2(name, args);
5622
5618
  });
5619
+ runCommand.command("list").description("List configured run commands").action(listRunConfigs);
5623
5620
  runCommand.command("add").description("Add a new run configuration to assist.yml").allowUnknownOption().allowExcessArguments().action(() => add2());
5624
5621
  registerNew(program);
5625
5622
  var lintCommand = program.command("lint").description("Run lint checks for conventions not enforced by biomejs").action(lint);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.69.0",
3
+ "version": "0.70.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {