Skip to content

Commit 111b56d

Browse files
updated README.md
1 parent f540cfc commit 111b56d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,26 @@ A utility script to import data from Star Wars API to a local postgreSQL databas
1919
- `DATABASE`: Set the name of the database via the `-db` or `--database` flags
2020
- `PORT_ID`: Set the port to connect to via the `-p` or `--port` flags
2121
- `USERNAME`: An environment variable of the username you use for postgreSQL (DEFAULT: `BOOTCAMP_USER`)
22+
- To use a different username, use the user flag (`-u, --user`)
2223
- `PWD`: An environment variable of the password you use for postgreSQL (DEFAULT: `BOOTCAMP_CREDS`)
24+
- To use a different password, use the pw flag (`-pw, --password`)
25+
- `HOST`: Set the host to connect to via the `-h` or `--host` flags
26+
27+
2328

2429
__Options__:
2530
- `-db, --database`: Name of the database to connect to
2631
- DEFAULT: `bootcamp`
2732
- To change: `-db=some_db` or `--database=some_other_db`
33+
- `-h, --host`: The host to connect to
34+
- DEFAULT: `localhost`
35+
- To change: `-h="localhost"` or `--host="localhost"`
36+
- `-u, --user`: The postgres user
37+
- DEFAULT: `BOOTCAMP_USER(Environment Variable)`
38+
- To change: `-u="some-user"` or `--user="other-user"`
39+
- `-pw, --password`: The password to the postgres user
40+
- DEFAULT: `BOOTCAMP_CREDS(Environment Variable)`
41+
- To change: `-pw="$0m3P@$$w0rd"` or `--password="$0m3P@$$w0rd"`
2842
- `-p, --port`: The port to connect to
2943
- DEFAULT: `5432`
3044
- To change: `-p=5433` or `--port=5433`

0 commit comments

Comments
 (0)