zapier-platform-cli 18.3.0 → 18.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zapier-platform-cli",
3
- "version": "18.3.0",
3
+ "version": "18.4.0",
4
4
  "description": "The CLI for managing integrations in Zapier Developer Platform.",
5
5
  "repository": "zapier/zapier-platform",
6
6
  "homepage": "https://platform.zapier.com/",
@@ -4,7 +4,7 @@ const { buildFlags } = require('../buildFlags');
4
4
 
5
5
  const { listVersions } = require('../../utils/api');
6
6
 
7
- class VersionCommand extends BaseCommand {
7
+ class VersionsCommand extends BaseCommand {
8
8
  async perform() {
9
9
  this.startSpinner('Loading versions');
10
10
  const { versions } = await listVersions();
@@ -27,7 +27,8 @@ class VersionCommand extends BaseCommand {
27
27
  ['State', 'state'],
28
28
  ['Legacy Date', 'legacy_date'],
29
29
  ['Deprecation Date', 'deprecation_date'],
30
- ['Timestamp', 'date'],
30
+ ['Created at', 'date'],
31
+ ['Updated at', 'last_changed'],
31
32
  ],
32
33
  emptyMessage:
33
34
  'No versions to show. Try adding one with the `zapier push` command',
@@ -41,8 +42,8 @@ class VersionCommand extends BaseCommand {
41
42
  }
42
43
  }
43
44
 
44
- VersionCommand.skipValidInstallCheck = true;
45
- VersionCommand.flags = buildFlags({
45
+ VersionsCommand.skipValidInstallCheck = true;
46
+ VersionsCommand.flags = buildFlags({
46
47
  commandFlags: {
47
48
  all: Flags.boolean({
48
49
  char: 'a',
@@ -51,6 +52,6 @@ VersionCommand.flags = buildFlags({
51
52
  },
52
53
  opts: { format: true },
53
54
  });
54
- VersionCommand.description = `List the versions of your integration available for use in Zapier automations.`;
55
+ VersionsCommand.description = `List the versions of your integration available for use in Zapier automations.`;
55
56
 
56
- module.exports = VersionCommand;
57
+ module.exports = VersionsCommand;