web

nim web

work with web contents

nim web clean

Deletes all Content from Web Storage

Deletes all Content from Web Storage
USAGE
$ nim web clean
OPTIONS
-f, --force Just do it, omitting confirmatory prompt
-v, --verbose Greater detail in error messages
--apihost=apihost API host of the namespace to clean
--help Show help
--namespace=namespace The namespace to clean (current namespace if omitted)

See code: src/commands/web/clean.ts

nim web create WEBCONTENTPATH

Adds Content to the Web Storage

Adds Content to the Web Storage
USAGE
$ nim web create WEBCONTENTPATH
ARGUMENTS
WEBCONTENTPATH Path to the content to be added
OPTIONS
-c, --cache=cache Maximum amount of time in seconds, the web content is considered fresh, relative to the time of the request
-d, --destination=destination Target location in web storage
-v, --verbose Greater detail in error messages
--apihost=apihost API host of the namespace in which to add content
--help Show help
--namespace=namespace The namespace in which to add content (current namespace if omitted)
ALIASES
$ nim web add

See code: src/commands/web/create.ts

nim web delete WEBCONTENTNAME

Deletes Content from the Web Storage

Deletes Content from the Web Storage
USAGE
$ nim web delete WEBCONTENTNAME
ARGUMENTS
WEBCONTENTNAME The web content to be deleted
OPTIONS
-v, --verbose Greater detail in error messages
--apihost=apihost API host of the namespace in which to delete content
--help Show help
--namespace=namespace The namespace in which to delete content (current namespace if omitted)

See code: src/commands/web/delete.ts

nim web get WEBCONTENTNAME DESTINATION

Gets Content from the Web Storage

Gets Content from the Web Storage
USAGE
$ nim web get WEBCONTENTNAME DESTINATION
ARGUMENTS
WEBCONTENTNAME The web content to get
DESTINATION [default: ./] The location to write at
OPTIONS
-p, --print Prints content on terminal
-r, --url Get web content url
-s, --save Saves content on file system (default)
-v, --verbose Greater detail in error messages
--apihost=apihost API host of the namespace from which to get web content
--help Show help
--namespace=namespace The namespace from which to get web content (current namespace if omitted)
--save-as=save-as Saves content on file system with the given name
--saveAs=saveAs Saves content on file system with the given name

See code: src/commands/web/get.ts

nim web list [PREFIX]

Lists Web Content

Lists Web Content
USAGE
$ nim web list [PREFIX]
ARGUMENTS
PREFIX Prefix to match the content against
OPTIONS
-j, --json Displays output in JSON form
-l, --long Displays additional file info such as last update, owner and md5hash
-v, --verbose Greater detail in error messages
--apihost=apihost API host of the namespace to list web content from
--help Show help
--namespace=namespace The namespace to list web content from (current namespace if omitted)

See code: src/commands/web/list.ts

nim web update WEBCONTENTPATH

Updates Content in the Web Storage

Updates Content in the Web Storage
USAGE
$ nim web update WEBCONTENTPATH
ARGUMENTS
WEBCONTENTPATH Path to the content to be updated
OPTIONS
-c, --cache=cache Maximum amount of time in seconds, the web content is considered fresh, relative to the time of the request
-d, --destination=destination Target location in web storage
-v, --verbose Greater detail in error messages
--apihost=apihost API host of the namespace in which to update content
--help Show help
--namespace=namespace The namespace in which to update content (current namespace if omitted)

See code: src/commands/web/update.ts