Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Publish 1.0.0 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
bokub committed Jan 28, 2019
1 parent f25fcbc commit a2937da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ linky
# Basic usage (no questions asked)
linky (hour|day|month|year) -u <email> -p <password>

# Save data to file with -o
# Save data to JSON file with -o
linky -o <path>

# Custom time period with -s (start) and -e (end)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "linky-cli",
"description": "A CLI tool to retrieve your Linky power consumption",
"version": "0.2.1",
"version": "1.0.0",
"author": "bokub",
"bin": {
"linky": "index.js"
Expand Down
4 changes: 2 additions & 2 deletions src/inquire.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ module.exports = async cli => {
const answers = await inquirer.prompt([{
type: 'list',
name: 'interval',
message: 'Select an step duration',
choices: [{value: 'hour', name: 'hour (actually 30 minutes)'}, 'day', 'month', 'year']
message: 'Select a step duration',
choices: [{value: 'hour', name: 'half hour'}, 'day', 'month', 'year']
}]);
cli.input = [answers.interval];
}
Expand Down

0 comments on commit a2937da

Please sign in to comment.