neonctl 1.10.0 → 1.11.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.
@@ -4,6 +4,7 @@ import { commandFailHandler } from '../utils.js';
4
4
  const BRANCH_FIELDS = ['id', 'name', 'created_at'];
5
5
  export const command = 'branches';
6
6
  export const describe = 'Manage branches';
7
+ export const aliases = ['branch'];
7
8
  export const builder = (argv) => argv
8
9
  .demandCommand(1, '')
9
10
  .fail(commandFailHandler)
@@ -4,6 +4,7 @@ import { writer } from '../writer.js';
4
4
  const DATABASE_FIELDS = ['name', 'owner_name', 'created_at'];
5
5
  export const command = 'databases';
6
6
  export const describe = 'Manage databases';
7
+ export const aliases = ['database'];
7
8
  export const builder = (argv) => argv
8
9
  .demandCommand(1, '')
9
10
  .fail(commandFailHandler)
@@ -10,6 +10,7 @@ const ENDPOINT_FIELDS = [
10
10
  ];
11
11
  export const command = 'endpoints';
12
12
  export const describe = 'Manage endpoints';
13
+ export const aliases = ['endpoint'];
13
14
  export const builder = (argv) => argv
14
15
  .demandCommand(1, '')
15
16
  .fail(commandFailHandler)
@@ -3,6 +3,7 @@ import { writer } from '../writer.js';
3
3
  const OPERATIONS_FIELDS = ['id', 'action', 'status', 'created_at'];
4
4
  export const command = 'operations';
5
5
  export const describe = 'Manage operations';
6
+ export const aliases = ['operation'];
6
7
  export const builder = (argv) => argv
7
8
  .demandCommand(1, '')
8
9
  .fail(commandFailHandler)
@@ -4,6 +4,7 @@ import { writer } from '../writer.js';
4
4
  const PROJECT_FIELDS = ['id', 'name', 'region_id', 'created_at'];
5
5
  export const command = 'projects';
6
6
  export const describe = 'Manage projects';
7
+ export const aliases = ['project'];
7
8
  export const builder = (argv) => {
8
9
  return argv
9
10
  .demandCommand(1, '')
package/commands/roles.js CHANGED
@@ -4,6 +4,7 @@ import { writer } from '../writer.js';
4
4
  const ROLES_FIELDS = ['name', 'created_at'];
5
5
  export const command = 'roles';
6
6
  export const describe = 'Manage roles';
7
+ export const aliases = ['role'];
7
8
  export const builder = (argv) => argv
8
9
  .demandCommand(1, '')
9
10
  .fail(commandFailHandler)
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "git@github.com:neondatabase/neonctl.git"
6
6
  },
7
7
  "type": "module",
8
- "version": "1.10.0",
8
+ "version": "1.11.0",
9
9
  "description": "CLI tool for NeonDB Cloud management",
10
10
  "main": "index.js",
11
11
  "author": "NeonDB",