neonctl 1.9.3 → 1.9.4
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/commands/branches.js +1 -1
- package/commands/connection_string.js +1 -1
- package/commands/databases.js +1 -1
- package/commands/endpoints.js +1 -1
- package/commands/help.test.js +1 -1
- package/commands/index.js +1 -1
- package/commands/operations.js +1 -1
- package/commands/projects.js +1 -1
- package/commands/roles.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- /package/commands/{users.js → user.js} +0 -0
package/commands/branches.js
CHANGED
|
@@ -7,7 +7,7 @@ export const describe = 'Manage branches';
|
|
|
7
7
|
export const builder = (argv) => argv
|
|
8
8
|
.demandCommand(1, '')
|
|
9
9
|
.fail(commandFailHandler)
|
|
10
|
-
.usage('usage: $0 branches <
|
|
10
|
+
.usage('usage: $0 branches <command> [options]')
|
|
11
11
|
.options({
|
|
12
12
|
'project.id': {
|
|
13
13
|
describe: 'Project ID',
|
|
@@ -2,7 +2,7 @@ export const command = 'connection-string';
|
|
|
2
2
|
export const aliases = ['cs'];
|
|
3
3
|
export const describe = 'Get connection string';
|
|
4
4
|
export const builder = (argv) => {
|
|
5
|
-
return argv.usage('usage: $0 connection-string [
|
|
5
|
+
return argv.usage('usage: $0 connection-string [options]').options({
|
|
6
6
|
'project.id': {
|
|
7
7
|
type: 'string',
|
|
8
8
|
describe: 'Project ID',
|
package/commands/databases.js
CHANGED
|
@@ -7,7 +7,7 @@ export const describe = 'Manage databases';
|
|
|
7
7
|
export const builder = (argv) => argv
|
|
8
8
|
.demandCommand(1, '')
|
|
9
9
|
.fail(commandFailHandler)
|
|
10
|
-
.usage('usage: $0 databases <
|
|
10
|
+
.usage('usage: $0 databases <command> [options]')
|
|
11
11
|
.options({
|
|
12
12
|
'project.id': {
|
|
13
13
|
describe: 'Project ID',
|
package/commands/endpoints.js
CHANGED
|
@@ -13,7 +13,7 @@ export const describe = 'Manage endpoints';
|
|
|
13
13
|
export const builder = (argv) => argv
|
|
14
14
|
.demandCommand(1, '')
|
|
15
15
|
.fail(commandFailHandler)
|
|
16
|
-
.usage('usage: $0 endpoints <
|
|
16
|
+
.usage('usage: $0 endpoints <command> [options]')
|
|
17
17
|
.options({
|
|
18
18
|
'project.id': {
|
|
19
19
|
describe: 'Project ID',
|
package/commands/help.test.js
CHANGED
package/commands/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as auth from './auth.js';
|
|
2
2
|
import * as projects from './projects.js';
|
|
3
|
-
import * as users from './
|
|
3
|
+
import * as users from './user.js';
|
|
4
4
|
import * as branches from './branches.js';
|
|
5
5
|
import * as endpoints from './endpoints.js';
|
|
6
6
|
import * as databases from './databases.js';
|
package/commands/operations.js
CHANGED
|
@@ -6,7 +6,7 @@ export const describe = 'Manage operations';
|
|
|
6
6
|
export const builder = (argv) => argv
|
|
7
7
|
.demandCommand(1, '')
|
|
8
8
|
.fail(commandFailHandler)
|
|
9
|
-
.usage('usage: $0 operations <
|
|
9
|
+
.usage('usage: $0 operations <command> [options]')
|
|
10
10
|
.options({
|
|
11
11
|
'project.id': {
|
|
12
12
|
describe: 'Project ID',
|
package/commands/projects.js
CHANGED
|
@@ -8,7 +8,7 @@ export const builder = (argv) => {
|
|
|
8
8
|
return argv
|
|
9
9
|
.demandCommand(1, '')
|
|
10
10
|
.fail(commandFailHandler)
|
|
11
|
-
.usage('usage: $0 projects <
|
|
11
|
+
.usage('usage: $0 projects <command> [options]')
|
|
12
12
|
.command('list', 'List projects', (yargs) => yargs, async (args) => {
|
|
13
13
|
await list(args);
|
|
14
14
|
})
|
package/commands/roles.js
CHANGED
|
@@ -7,7 +7,7 @@ export const describe = 'Manage roles';
|
|
|
7
7
|
export const builder = (argv) => argv
|
|
8
8
|
.demandCommand(1, '')
|
|
9
9
|
.fail(commandFailHandler)
|
|
10
|
-
.usage('usage: $0 roles <
|
|
10
|
+
.usage('usage: $0 roles <command> [options]')
|
|
11
11
|
.options({
|
|
12
12
|
'project.id': {
|
|
13
13
|
describe: 'Project ID',
|
package/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import commands from './commands/index.js';
|
|
|
23
23
|
import { analyticsMiddleware } from './analytics.js';
|
|
24
24
|
const builder = yargs(hideBin(process.argv))
|
|
25
25
|
.scriptName(pkg.name)
|
|
26
|
-
.usage('usage: $0 <
|
|
26
|
+
.usage('usage: $0 <command> [options]')
|
|
27
27
|
.help()
|
|
28
28
|
.option('output', {
|
|
29
29
|
alias: 'o',
|
package/package.json
CHANGED
|
File without changes
|