@apollo-annotation/cli 0.3.12 → 1.0.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/README.md CHANGED
@@ -16,7 +16,7 @@ $ npm install -g @apollo-annotation/cli
16
16
  $ apollo COMMAND
17
17
  running command...
18
18
  $ apollo (--version)
19
- @apollo-annotation/cli/0.3.12 linux-x64 node-v24.14.0
19
+ @apollo-annotation/cli/1.0.0 linux-x64 node-v24.14.1
20
20
  $ apollo --help [COMMAND]
21
21
  USAGE
22
22
  $ apollo COMMAND
@@ -117,7 +117,7 @@ EXAMPLES
117
117
  ```
118
118
 
119
119
  _See code:
120
- [src/commands/assembly/add-from-fasta.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/assembly/add-from-fasta.ts)_
120
+ [src/commands/assembly/add-from-fasta.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/assembly/add-from-fasta.ts)_
121
121
 
122
122
  ## `apollo assembly add-from-gff INPUT-FILE`
123
123
 
@@ -156,7 +156,7 @@ EXAMPLES
156
156
  ```
157
157
 
158
158
  _See code:
159
- [src/commands/assembly/add-from-gff.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/assembly/add-from-gff.ts)_
159
+ [src/commands/assembly/add-from-gff.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/assembly/add-from-gff.ts)_
160
160
 
161
161
  ## `apollo assembly check`
162
162
 
@@ -198,7 +198,7 @@ EXAMPLES
198
198
  ```
199
199
 
200
200
  _See code:
201
- [src/commands/assembly/check.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/assembly/check.ts)_
201
+ [src/commands/assembly/check.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/assembly/check.ts)_
202
202
 
203
203
  ## `apollo assembly delete`
204
204
 
@@ -226,7 +226,7 @@ EXAMPLES
226
226
  ```
227
227
 
228
228
  _See code:
229
- [src/commands/assembly/delete.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/assembly/delete.ts)_
229
+ [src/commands/assembly/delete.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/assembly/delete.ts)_
230
230
 
231
231
  ## `apollo assembly get`
232
232
 
@@ -248,7 +248,7 @@ DESCRIPTION
248
248
  ```
249
249
 
250
250
  _See code:
251
- [src/commands/assembly/get.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/assembly/get.ts)_
251
+ [src/commands/assembly/get.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/assembly/get.ts)_
252
252
 
253
253
  ## `apollo assembly sequence`
254
254
 
@@ -283,7 +283,7 @@ EXAMPLES
283
283
  ```
284
284
 
285
285
  _See code:
286
- [src/commands/assembly/sequence.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/assembly/sequence.ts)_
286
+ [src/commands/assembly/sequence.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/assembly/sequence.ts)_
287
287
 
288
288
  ## `apollo change get`
289
289
 
@@ -307,7 +307,7 @@ DESCRIPTION
307
307
  ```
308
308
 
309
309
  _See code:
310
- [src/commands/change/get.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/change/get.ts)_
310
+ [src/commands/change/get.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/change/get.ts)_
311
311
 
312
312
  ## `apollo config [KEY] [VALUE]`
313
313
 
@@ -359,7 +359,7 @@ EXAMPLES
359
359
  ```
360
360
 
361
361
  _See code:
362
- [src/commands/config.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/config.ts)_
362
+ [src/commands/config.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/config.ts)_
363
363
 
364
364
  ## `apollo export gff3 ASSEMBLY`
365
365
 
@@ -387,7 +387,7 @@ EXAMPLES
387
387
  ```
388
388
 
389
389
  _See code:
390
- [src/commands/export/gff3.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/export/gff3.ts)_
390
+ [src/commands/export/gff3.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/export/gff3.ts)_
391
391
 
392
392
  ## `apollo feature add [FEATURE-JSON]`
393
393
 
@@ -443,7 +443,7 @@ EXAMPLES
443
443
  ```
444
444
 
445
445
  _See code:
446
- [src/commands/feature/add.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/add.ts)_
446
+ [src/commands/feature/add.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/add.ts)_
447
447
 
448
448
  ## `apollo feature add-child`
449
449
 
@@ -474,7 +474,7 @@ EXAMPLES
474
474
  ```
475
475
 
476
476
  _See code:
477
- [src/commands/feature/add-child.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/add-child.ts)_
477
+ [src/commands/feature/add-child.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/add-child.ts)_
478
478
 
479
479
  ## `apollo feature check`
480
480
 
@@ -507,7 +507,7 @@ EXAMPLES
507
507
  ```
508
508
 
509
509
  _See code:
510
- [src/commands/feature/check.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/check.ts)_
510
+ [src/commands/feature/check.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/check.ts)_
511
511
 
512
512
  ## `apollo feature copy`
513
513
 
@@ -538,7 +538,7 @@ EXAMPLES
538
538
  ```
539
539
 
540
540
  _See code:
541
- [src/commands/feature/copy.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/copy.ts)_
541
+ [src/commands/feature/copy.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/copy.ts)_
542
542
 
543
543
  ## `apollo feature delete`
544
544
 
@@ -562,7 +562,7 @@ DESCRIPTION
562
562
  ```
563
563
 
564
564
  _See code:
565
- [src/commands/feature/delete.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/delete.ts)_
565
+ [src/commands/feature/delete.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/delete.ts)_
566
566
 
567
567
  ## `apollo feature edit`
568
568
 
@@ -604,7 +604,7 @@ EXAMPLES
604
604
  ```
605
605
 
606
606
  _See code:
607
- [src/commands/feature/edit.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/edit.ts)_
607
+ [src/commands/feature/edit.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/edit.ts)_
608
608
 
609
609
  ## `apollo feature edit-attribute`
610
610
 
@@ -644,7 +644,7 @@ EXAMPLES
644
644
  ```
645
645
 
646
646
  _See code:
647
- [src/commands/feature/edit-attribute.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/edit-attribute.ts)_
647
+ [src/commands/feature/edit-attribute.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/edit-attribute.ts)_
648
648
 
649
649
  ## `apollo feature edit-coords`
650
650
 
@@ -678,7 +678,7 @@ EXAMPLES
678
678
  ```
679
679
 
680
680
  _See code:
681
- [src/commands/feature/edit-coords.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/edit-coords.ts)_
681
+ [src/commands/feature/edit-coords.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/edit-coords.ts)_
682
682
 
683
683
  ## `apollo feature edit-type`
684
684
 
@@ -702,7 +702,7 @@ DESCRIPTION
702
702
  ```
703
703
 
704
704
  _See code:
705
- [src/commands/feature/edit-type.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/edit-type.ts)_
705
+ [src/commands/feature/edit-type.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/edit-type.ts)_
706
706
 
707
707
  ## `apollo feature get`
708
708
 
@@ -736,7 +736,7 @@ EXAMPLES
736
736
  ```
737
737
 
738
738
  _See code:
739
- [src/commands/feature/get.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/get.ts)_
739
+ [src/commands/feature/get.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/get.ts)_
740
740
 
741
741
  ## `apollo feature get-id`
742
742
 
@@ -764,7 +764,7 @@ EXAMPLES
764
764
  ```
765
765
 
766
766
  _See code:
767
- [src/commands/feature/get-id.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/get-id.ts)_
767
+ [src/commands/feature/get-id.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/get-id.ts)_
768
768
 
769
769
  ## `apollo feature get-indexed-id ID`
770
770
 
@@ -796,7 +796,7 @@ EXAMPLES
796
796
  ```
797
797
 
798
798
  _See code:
799
- [src/commands/feature/get-indexed-id.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/get-indexed-id.ts)_
799
+ [src/commands/feature/get-indexed-id.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/get-indexed-id.ts)_
800
800
 
801
801
  ## `apollo feature import INPUT-FILE`
802
802
 
@@ -828,7 +828,7 @@ EXAMPLES
828
828
  ```
829
829
 
830
830
  _See code:
831
- [src/commands/feature/import.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/import.ts)_
831
+ [src/commands/feature/import.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/import.ts)_
832
832
 
833
833
  ## `apollo feature search`
834
834
 
@@ -879,7 +879,7 @@ EXAMPLES
879
879
  ```
880
880
 
881
881
  _See code:
882
- [src/commands/feature/search.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/feature/search.ts)_
882
+ [src/commands/feature/search.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/feature/search.ts)_
883
883
 
884
884
  ## `apollo file delete`
885
885
 
@@ -906,7 +906,7 @@ EXAMPLES
906
906
  ```
907
907
 
908
908
  _See code:
909
- [src/commands/file/delete.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/file/delete.ts)_
909
+ [src/commands/file/delete.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/file/delete.ts)_
910
910
 
911
911
  ## `apollo file download`
912
912
 
@@ -934,7 +934,7 @@ EXAMPLES
934
934
  ```
935
935
 
936
936
  _See code:
937
- [src/commands/file/download.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/file/download.ts)_
937
+ [src/commands/file/download.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/file/download.ts)_
938
938
 
939
939
  ## `apollo file get`
940
940
 
@@ -961,7 +961,7 @@ EXAMPLES
961
961
  ```
962
962
 
963
963
  _See code:
964
- [src/commands/file/get.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/file/get.ts)_
964
+ [src/commands/file/get.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/file/get.ts)_
965
965
 
966
966
  ## `apollo file upload INPUT-FILE`
967
967
 
@@ -998,7 +998,7 @@ EXAMPLES
998
998
  ```
999
999
 
1000
1000
  _See code:
1001
- [src/commands/file/upload.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/file/upload.ts)_
1001
+ [src/commands/file/upload.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/file/upload.ts)_
1002
1002
 
1003
1003
  ## `apollo help [COMMANDS]`
1004
1004
 
@@ -1064,7 +1064,7 @@ EXAMPLES
1064
1064
  ```
1065
1065
 
1066
1066
  _See code:
1067
- [src/commands/jbrowse/desktop.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/jbrowse/desktop.ts)_
1067
+ [src/commands/jbrowse/desktop.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/jbrowse/desktop.ts)_
1068
1068
 
1069
1069
  ## `apollo jbrowse get-config`
1070
1070
 
@@ -1090,7 +1090,7 @@ EXAMPLES
1090
1090
  ```
1091
1091
 
1092
1092
  _See code:
1093
- [src/commands/jbrowse/get-config.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/jbrowse/get-config.ts)_
1093
+ [src/commands/jbrowse/get-config.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/jbrowse/get-config.ts)_
1094
1094
 
1095
1095
  ## `apollo jbrowse set-config INPUTFILE`
1096
1096
 
@@ -1119,7 +1119,7 @@ EXAMPLES
1119
1119
  ```
1120
1120
 
1121
1121
  _See code:
1122
- [src/commands/jbrowse/set-config.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/jbrowse/set-config.ts)_
1122
+ [src/commands/jbrowse/set-config.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/jbrowse/set-config.ts)_
1123
1123
 
1124
1124
  ## `apollo login`
1125
1125
 
@@ -1158,7 +1158,7 @@ EXAMPLES
1158
1158
  ```
1159
1159
 
1160
1160
  _See code:
1161
- [src/commands/login.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/login.ts)_
1161
+ [src/commands/login.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/login.ts)_
1162
1162
 
1163
1163
  ## `apollo logout`
1164
1164
 
@@ -1188,7 +1188,7 @@ EXAMPLES
1188
1188
  ```
1189
1189
 
1190
1190
  _See code:
1191
- [src/commands/logout.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/logout.ts)_
1191
+ [src/commands/logout.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/logout.ts)_
1192
1192
 
1193
1193
  ## `apollo refseq add-alias INPUT-FILE`
1194
1194
 
@@ -1219,7 +1219,7 @@ EXAMPLES
1219
1219
  ```
1220
1220
 
1221
1221
  _See code:
1222
- [src/commands/refseq/add-alias.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/refseq/add-alias.ts)_
1222
+ [src/commands/refseq/add-alias.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/refseq/add-alias.ts)_
1223
1223
 
1224
1224
  ## `apollo refseq get`
1225
1225
 
@@ -1251,7 +1251,7 @@ EXAMPLES
1251
1251
  ```
1252
1252
 
1253
1253
  _See code:
1254
- [src/commands/refseq/get.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/refseq/get.ts)_
1254
+ [src/commands/refseq/get.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/refseq/get.ts)_
1255
1255
 
1256
1256
  ## `apollo status`
1257
1257
 
@@ -1273,7 +1273,7 @@ DESCRIPTION
1273
1273
  ```
1274
1274
 
1275
1275
  _See code:
1276
- [src/commands/status.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/status.ts)_
1276
+ [src/commands/status.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/status.ts)_
1277
1277
 
1278
1278
  ## `apollo user get`
1279
1279
 
@@ -1309,6 +1309,6 @@ EXAMPLES
1309
1309
  ```
1310
1310
 
1311
1311
  _See code:
1312
- [src/commands/user/get.ts](https://github.com/GMOD/Apollo3/blob/v0.3.12/packages/apollo-cli/src/commands/user/get.ts)_
1312
+ [src/commands/user/get.ts](https://github.com/GMOD/Apollo3/blob/v1.0.0/packages/apollo-cli/src/commands/user/get.ts)_
1313
1313
 
1314
1314
  <!-- commandsstop -->
@@ -17,14 +17,14 @@ In such cases you need to use the assembly ID.';
17
17
  async run() {
18
18
  const { flags } = await this.parse(Get);
19
19
  const access = await this.getAccess();
20
- const changes = await queryApollo(access.address, access.accessToken, 'changes');
21
- const json = (await changes.json());
22
- let keep = json;
20
+ const response = await queryApollo(access.address, access.accessToken, 'changes');
21
+ const { changes } = (await response.json());
22
+ let keep = changes;
23
23
  if (flags.assembly !== undefined) {
24
24
  keep = [];
25
25
  const assembly = await idReader(flags.assembly);
26
26
  const assemblyIds = await convertAssemblyNameToId(access.address, access.accessToken, assembly);
27
- for (const x of json) {
27
+ for (const x of changes) {
28
28
  if (assemblyIds.includes(x['assembly'])) {
29
29
  keep.push(x);
30
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/commands/change/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAGnC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,uBAAuB,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE/E,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,WAAuB;IACtD,MAAM,CAAC,OAAO,GAAG,qBAAqB,CAAA;IACtC,MAAM,CAAC,WAAW,GAChB;;;+CAG2C,CA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,CAAC,CAAC,CAAC,UAA4B,CAAC,CAAC,EAAE,CAAC;oBAC1D,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;gBACd,CAAC;YACH,CAAC;QACH,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;IACzC,CAAC"}
@@ -690,22 +690,10 @@
690
690
  "sequence.js"
691
691
  ]
692
692
  },
693
- "export:gff3": {
693
+ "change:get": {
694
694
  "aliases": [],
695
- "args": {
696
- "assembly": {
697
- "description": "Export annotations for this assembly name or id",
698
- "name": "assembly",
699
- "required": true
700
- }
701
- },
702
- "description": "Export the annotations for an assembly to stdout as gff3",
703
- "examples": [
704
- {
705
- "description": "Export annotations for myAssembly:",
706
- "command": "<%= config.bin %> <%= command.id %> myAssembly > out.gff3"
707
- }
708
- ],
695
+ "args": {},
696
+ "description": "Return the change log in json format. Note that when an assembly is deleted the link between common name and ID is lost (it can still be recovered by inspecting the change log but at present this task is left to the user). In such cases you need to use the assembly ID.",
709
697
  "flags": {
710
698
  "profile": {
711
699
  "description": "Use credentials from this profile",
@@ -721,33 +709,48 @@
721
709
  "multiple": false,
722
710
  "type": "option"
723
711
  },
724
- "include-fasta": {
725
- "description": "Include fasta sequence in output",
726
- "name": "include-fasta",
727
- "allowNo": false,
728
- "type": "boolean"
712
+ "assembly": {
713
+ "char": "a",
714
+ "description": "Get changes only for these assembly names or IDs (but see description)",
715
+ "name": "assembly",
716
+ "hasDynamicHelp": false,
717
+ "multiple": true,
718
+ "type": "option"
729
719
  }
730
720
  },
731
721
  "hasDynamicHelp": false,
732
722
  "hiddenAliases": [],
733
- "id": "export:gff3",
723
+ "id": "change:get",
734
724
  "pluginAlias": "@apollo-annotation/cli",
735
725
  "pluginName": "@apollo-annotation/cli",
736
726
  "pluginType": "core",
737
727
  "strict": true,
728
+ "summary": "Get list of changes",
738
729
  "enableJsonFlag": false,
739
730
  "isESM": true,
740
731
  "relativePath": [
741
732
  "dist",
742
733
  "commands",
743
- "export",
744
- "gff3.js"
734
+ "change",
735
+ "get.js"
745
736
  ]
746
737
  },
747
- "change:get": {
738
+ "export:gff3": {
748
739
  "aliases": [],
749
- "args": {},
750
- "description": "Return the change log in json format. Note that when an assembly is deleted the link between common name and ID is lost (it can still be recovered by inspecting the change log but at present this task is left to the user). In such cases you need to use the assembly ID.",
740
+ "args": {
741
+ "assembly": {
742
+ "description": "Export annotations for this assembly name or id",
743
+ "name": "assembly",
744
+ "required": true
745
+ }
746
+ },
747
+ "description": "Export the annotations for an assembly to stdout as gff3",
748
+ "examples": [
749
+ {
750
+ "description": "Export annotations for myAssembly:",
751
+ "command": "<%= config.bin %> <%= command.id %> myAssembly > out.gff3"
752
+ }
753
+ ],
751
754
  "flags": {
752
755
  "profile": {
753
756
  "description": "Use credentials from this profile",
@@ -763,30 +766,27 @@
763
766
  "multiple": false,
764
767
  "type": "option"
765
768
  },
766
- "assembly": {
767
- "char": "a",
768
- "description": "Get changes only for these assembly names or IDs (but see description)",
769
- "name": "assembly",
770
- "hasDynamicHelp": false,
771
- "multiple": true,
772
- "type": "option"
769
+ "include-fasta": {
770
+ "description": "Include fasta sequence in output",
771
+ "name": "include-fasta",
772
+ "allowNo": false,
773
+ "type": "boolean"
773
774
  }
774
775
  },
775
776
  "hasDynamicHelp": false,
776
777
  "hiddenAliases": [],
777
- "id": "change:get",
778
+ "id": "export:gff3",
778
779
  "pluginAlias": "@apollo-annotation/cli",
779
780
  "pluginName": "@apollo-annotation/cli",
780
781
  "pluginType": "core",
781
782
  "strict": true,
782
- "summary": "Get list of changes",
783
783
  "enableJsonFlag": false,
784
784
  "isESM": true,
785
785
  "relativePath": [
786
786
  "dist",
787
787
  "commands",
788
- "change",
789
- "get.js"
788
+ "export",
789
+ "gff3.js"
790
790
  ]
791
791
  },
792
792
  "feature:add-child": {
@@ -2411,5 +2411,5 @@
2411
2411
  ]
2412
2412
  }
2413
2413
  },
2414
- "version": "0.3.12"
2414
+ "version": "1.0.0"
2415
2415
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apollo-annotation/cli",
3
- "version": "0.3.12",
3
+ "version": "1.0.0",
4
4
  "description": "Command line interface for the Apollo annotation server",
5
5
  "repository": {
6
6
  "type": "git",
@@ -86,8 +86,8 @@
86
86
  "yaml": "^2.3.4"
87
87
  },
88
88
  "devDependencies": {
89
- "@apollo-annotation/mst": "^0.3.12",
90
- "@apollo-annotation/shared": "^0.3.12",
89
+ "@apollo-annotation/mst": "^1.0.0",
90
+ "@apollo-annotation/shared": "^1.0.0",
91
91
  "@istanbuljs/esm-loader-hook": "^0.2.0",
92
92
  "@istanbuljs/nyc-config-typescript": "^1.0.2",
93
93
  "@oclif/test": "^3.1.3",