Skip to content

Commit

Permalink
Merge pull request #2 from slauth-io/improve-readme
Browse files Browse the repository at this point in the history
fix(docs): improve readme
  • Loading branch information
nawazdhandala committed Nov 17, 2023
2 parents 439922a + 4b48035 commit cf68593
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# slauth-cli
# Slauth.io

CLI that scans repositories and generates the necessary IAM Policies for the service to run.

## Installation

```bash
npm install -g @slauth.io/slauth
```

## Usage

1. set the `OPENAI_API_KEY` environment variable: `export OPENAI_API_KEY=<key>`
2. run `slauth --help` to see available commands
1. Set the `OPENAI_API_KEY` environment variable: `export OPENAI_API_KEY=<key>`
2. Run `slauth --help` to see available commands

### Example scan command

Expand All @@ -17,8 +23,8 @@ slauth scan -p aws ./path/to/my/repository

## Development

1. set your `OPENAI_API_KEY` in the `.env` file at the root of the project
2. run `npm i`
3. install the `slauth` CLI globally: `npm install -g .`
4. compile tsc on file change: `npm run build-watch`
5. test it, `slauth -h` should work
1. Set your `OPENAI_API_KEY` in the `.env` file at the root of the project
2. Run `npm i`
3. Install the `slauth` CLI globally: `npm install -g .`
4. Compile tsc on file change: `npm run build-watch`
5. Test it, `slauth -h` should work
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
"format": "prettier ./src --write",
"format-check": "prettier ./src --check"
},
"keywords": [],
"author": "",
"license": "ISC",
"keywords": ["cli", "aws", "iam", "policies", "llm", "openai"],
"license": "MIT",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
Expand Down

0 comments on commit cf68593

Please sign in to comment.