Skip to main content

edk-io store

$ edk-io store [options] [command]

Description#

Manage the file store.

Arguments#

ArgumentDescription
<command>The store command provides the following sub-commands:
  • size
  • list
  • top

Options#

OptionDescription
--helpShow the help for the command.

Examples#

To view the help:

$ edk-io store --helpUsage: edk-io store [options] [command]
manage the file store
Options:  -h, --help      display help for command
Commands:  size [options]  check the size of a store contents  list [options]  list the contents of the store  top [options]   get the top n lines the store  help [command]  display help for command

Store Commands#

edk-io store size#

$ edk-io store size [options]

Description#

Check the size of a store contents

Options#

OptionDescription
--deploymentThe deployment asset decribing the server location.
--uriThe uri to check.
--helpDisplay the help for command.
--dirThe path for the project directory (default: "...").

Examples#

To view the help:

$ edk-io store size --helpUsage: edk-io store size [options]
check the size of a store contents
Options:  --deployment <deployment>  the path for the project directory  --dir <dir>                the path for the project directory (default:"...")  --uri <uri>                the uri to check  -h, --help                 display help for command

To view the files within a store directory uri:

$ edk-io store size --deployment local --uri "store://files"โ„น store size with 6 filesโ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”โ”‚ Asset                                  โ”‚ Size (MB)          โ”‚โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”คโ”‚ test.csv                               โ”‚ 0.06               โ”‚โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”คโ”‚ test.jsonl                             โ”‚ 0.37               โ”‚โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”คโ”‚ test.xlsx                              โ”‚ 0.01               โ”‚โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”คโ”‚ test1.csv                              โ”‚ 0.06               โ”‚โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”คโ”‚ test_two.csv                           โ”‚ 0.03               โ”‚โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”คโ”‚ test_two.xlsx                          โ”‚ 0.06               โ”‚โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜โœ” store size succeeded

edk-io store list#

$ edk-io store list [options]

Description#

List the contents of the store

Options#

OptionDescription
--deploymentThe deployment asset decribing the server location.
--uriThe uri to check (optional).
--helpDisplay the help for command.
--dirThe path for the project directory (default: "...").

Examples#

To view the help:

$ edk-io store list --helpUsage: edk-io store list [options]
list the contents of the store
Options:  --deployment <deployment>  the path for the project directory  --dir <dir>                the path for the project directory (default:"...")  --uri <uri>                the uri to check  -h, --help                 display help for command

To list the files within a store directory uri:

$ edk-io store list --deployment local --uri "store://files"โ„น store list structureโ”œโ”€ folderโ”‚  โ”œโ”€ test.csvโ”‚  โ”œโ”€ test1.csvโ”‚  โ””โ”€ test2.csvโ”œโ”€ folder2โ”‚  โ””โ”€ test.csvโ”œโ”€ test.csvโ”œโ”€ test.jsonlโ”œโ”€ test.xlsxโ”œโ”€ test1.csvโ”œโ”€ test_two.csvโ””โ”€ test_two.xlsx
โœ” store list succeeded

To list the files within a store root directory:

$ edk-io store list --deployment localโ„น store list structureโ””โ”€ files   โ”œโ”€ folder   โ”‚  โ”œโ”€ test.csv   โ”‚  โ”œโ”€ test1.csv   โ”‚  โ””โ”€ test2.csv   โ”œโ”€ folder2   โ”‚  โ””โ”€ test.csv   โ”œโ”€ test.csv   โ”œโ”€ test.jsonl   โ”œโ”€ test.xlsx   โ”œโ”€ test1.csv   โ”œโ”€ test_two.csv   โ””โ”€ test_two.xlsx
โœ” store list succeeded

edk-io store top#

$ edk-io store top [options]

Description#

Get the top n lines of contents in the store

Options#

OptionDescription
--deploymentThe deployment asset decribing the server location.
--uriThe uri to check.
--nThe number of lines to display.
--skipSkip this many lines before reading.
--helpDisplay the help for command.
--dirThe path for the project directory (default: "...").

Examples#

To view the help:

$ edk-io store top --helpUsage: edk-io store top [options]
get the top n lines of contents in the store
Options:  --deployment <deployment>  the path for the project directory  --dir <dir>                the path for the project directory (default:"...")  --uri <uri>                the uri to check  --n <n>                    the number of lines to display  -h, --help                 display help for command

To top n lines from the files within a store directory uri:

$ edk-io store top --deployment local --uri "store://files/folder"โ„น store top for test.csv with 10 linesstring,date,float,integer,boolean,Another String0mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s51mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s52mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s53mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s54mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s55mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s56mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s57mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s58mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s5

โ„น store top for test1.csv with 10 linesstring,date,float,integer,boolean,Another String0mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s51mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s52mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s53mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s54mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s55mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s56mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s57mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s58mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s5

โ„น store top for test2.csv with 10 linesstring,date,float,integer,boolean,Another String0mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s51mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s52mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s53mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s54mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s55mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s56mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s57mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s58mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s5

โœ” store top succeeded

To top 5 lines from a store file:

$ edk-io store top --n 5 --deployment local --uri "store://files/test.csv"โ„น store top for test.csv with 5 linesstring,date,float,integer,boolean,Another String0mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s51mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s52mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s53mtsqttl4s5,2021-04-01T03:03:09.834Z,-790.29,-875,false,mtsqttl4s5

โœ” store top succeeded