README.md in aptly_cli-0.0.1 vs README.md in aptly_cli-0.0.2

- old
+ new

@@ -1,7 +1,9 @@ # AptlyCli +[![Build Status](https://travis-ci.org/sepulworld/aptly_cli.svg)](https://travis-ci.org/sepulworld/aptly_cli) + A command line interace to execute Aptly commands againts a remote Aptly API server. Aptly-cli will allow you to interact with the repo, snapshot, publish, packages, graph and version API endpoints of your Aptly server. ## Installation Add this line to your application's Gemfile: @@ -17,9 +19,72 @@ Or install it yourself as: $ gem install aptly_cli ## Usage + +### aptly-cli file [options] + + DESCRIPTION: + +All uploaded files are stored under rootDir/upload directory (see your Aptly configuration). This directory would be created automatically if it doesn’t exist. Uploaded files are grouped by directories to support concurrent uploads from multiple package sources. Local repos add API can operate on directory (adding all files from directory) or on individual package files. By default, all successfully added package files would be removed. + + EXAMPLES: + + # List of directories or files + aptly-cli file --list / + geoipupdate_2.0.0_amd64.deb + geoipupdate_2.0.0_i386.deb + mongo + mongodb-mms-monitoring-agent_latest_i386.deb + redis + redis-server_2.8.3_amd64-cc1.deb + test + xsp_2.11.0.0-git-master-04062013_i386.deb + + # Upload file to a directory + aptly-cli file --upload /tmp/redis/test_1.0_amd64.deb --dest_uri /redis + test/test_1.0_amd64.deb + + # Delete file or directory + aptly-cli file --delete /redis/test_1.0_amd64.deb + {} + + OPTIONS: + + --list URI_FILE_PATH + URI path to list files + + --upload LOCAL_FILE_PATH/PACKAGE + Path to package to upload + + --dest_uri URI_FILE_PATH + URI path to directory to upload into + + --delete URI_FILE_PATH/PACKAGE + URI path to directory to delete or specific package + +### aptly-cli repo [options] + +TODO + +### aptly-cli snapshot [options] + +TODO + +### aptly-cli publish [options] + +TODO + +### aptly-cli package [options] + +TODO + +### aptly-cli graph [options] + +TODO + +### aptly-cli version TODO ## Development