Skip to content

Commit

Permalink
Adding the --file option back in for retrieve
Browse files Browse the repository at this point in the history
  • Loading branch information
synedra committed Jan 29, 2018
1 parent a77815f commit bb9d1b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion bin/akamaiProperty
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,9 @@ function main () {
.boolean('--hostnames', { desc: 'Retrieve hostnames for property' })
.boolean('--variables', { desc: 'Retrieve user variables' })
.boolean('--propver', { desc: 'Retrieve specified version' })
},
.file('--file <path>', {
desc: 'Output file'
})},
run: options => {
let app = new WebSite({path:options.config, section: options.section, debug: options.debug});
if (options.hostnames) {
Expand Down
4 changes: 2 additions & 2 deletions test/new_rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"groupId": "grp_77649",
"propertyId": "prp_284816",
"propertyName": "akamaiapibootcamp.com",
"propertyVersion": 363,
"etag": "ce05c89133befad13dadfa34c9aa509f35747e43",
"propertyVersion": 365,
"etag": "de0787bfbfff4a37e886703db84281f108d7a3e0",
"rules": {
"name": "default",
"children": [
Expand Down

0 comments on commit bb9d1b9

Please sign in to comment.