lib/nightcrawler_swift/cli.rb in nightcrawler_swift-0.7.0 vs lib/nightcrawler_swift/cli.rb in nightcrawler_swift-0.8.0

- old
+ new

@@ -30,9 +30,14 @@ "delete" => { description: "Deletes a file by path. Format: nswift delete <swift_path> Ex: nswift delete robots.txt", command: NightcrawlerSwift::Delete }, + "metadata" => { + description: "Returns the object metadata in JSON format. Without <swift_path> returns the bucket/container metadata. Ex: nswift metadata assets/robots.txt", + command: NightcrawlerSwift::Metadata + }, + "url-for" => { description: "Returns the public url of an object. Format: nswift url-for <swift_path> Ex: nswift url-for robots.txt", command: NightcrawlerSwift::CLI::UrlFor } }