Skip to content

Commit

Permalink
Bump version 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed Jan 21, 2023
1 parent 5a15c23 commit 8a32b79
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-cost-cli",
"version": "0.1.0",
"version": "0.1.1",
"description": "Simple CLI to get your AWS costs",
"type": "module",
"author": {
Expand Down
15 changes: 7 additions & 8 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ import { printPlainText } from './printers/text';
import { printFancy } from './printers/fancy';
import packageJson from '../package.json' assert { type: 'json' };

type OptionsType = {
config: string;
text: boolean;
json: boolean;
help: boolean;
summary: boolean;
};

updateNotifier({ pkg: packageJson }).notify();

const program = new Command();
Expand All @@ -32,6 +24,13 @@ program
.option('-h, --help', 'Get the help of the CLI')
.parse(process.argv);

type OptionsType = {
config: string;
text: boolean;
json: boolean;
help: boolean;
summary: boolean;
};
const options = program.opts<OptionsType>();

if (options.help) {
Expand Down

0 comments on commit 8a32b79

Please sign in to comment.