Skip to content

Commit 4f65458

Browse files
authored
enhance name hint and patch version (#129)
* enhance name hint and patch version * fix lint * fix name hint
1 parent b7a128c commit 4f65458

5 files changed

Lines changed: 4 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ DESCRIPTION
598598
EXAMPLES
599599
$ mapps scheduler:create -a APP_ID -s "0 * * * *" -u "/my-endpoint"
600600
601-
$ mapps scheduler:create -a APP_ID -s "0 * * * *" -u "/my-endpoint" -n "My special job" -d "My description"
601+
$ mapps scheduler:create -a APP_ID -s "0 * * * *" -u "/my-endpoint" -n "My-special-job" -d "My description"
602602
603603
$ mapps scheduler:create -a APP_ID -s "0 * * * *" -u "/my-endpoint" -r 3 -b 10 -t 60
604604
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mondaycom/apps-cli",
3-
"version": "4.7.2",
3+
"version": "4.7.3",
44
"description": "A cli tool to manage apps (and monday-code projects) in monday.com",
55
"author": "monday.com Apps Team",
66
"type": "module",

src/commands/database/connection-string.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { VAR_UNKNOWN } from 'consts/messages';
66
import { getDatabaseConnectionString } from 'services/database-service';
77
import { DynamicChoicesService } from 'services/dynamic-choices-service';
88
import { HttpError } from 'types/errors';
9-
import { AppId } from 'types/general';
109
import logger from 'utils/logger';
1110

1211
export default class ConnectionString extends AuthenticatedCommand {

src/commands/scheduler/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default class SchedulerCreate extends AuthenticatedCommand {
1313
static description = 'Create a new scheduler job for an app';
1414
static examples = [
1515
'<%= config.bin %> <%= command.id %> -a APP_ID -s "0 * * * *" -u "/my-endpoint"',
16-
'<%= config.bin %> <%= command.id %> -a APP_ID -s "0 * * * *" -u "/my-endpoint" -n "My special job" -d "My description"',
16+
'<%= config.bin %> <%= command.id %> -a APP_ID -s "0 * * * *" -u "/my-endpoint" -n "My-special-job" -d "My description"',
1717
'<%= config.bin %> <%= command.id %> -a APP_ID -s "0 * * * *" -u "/my-endpoint" -r 3 -b 10 -t 60',
1818
];
1919

src/consts/scheduler/messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { APP_ID_TO_ENTER } from 'src/consts/messages';
22

33
export const SchedulerMessages = {
44
appId: APP_ID_TO_ENTER,
5-
name: 'Scheduled job name',
5+
name: 'Scheduled job name (no whitespace)',
66
description: 'Scheduled job description (optional)',
77
schedule: 'Cron expression for the job schedule (relative to UTC)',
88
targetUrl: 'Target URL path for the job (must start with /, will be relative to /mndy-cronjob)',

0 commit comments

Comments
 (0)