onehouse-cli 0.1.1__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: onehouse-cli
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: A command-line tool for executing SQL commands against the Onehouse API
5
5
  Author-email: Sagar Lakshmipathy <18vidhyasagar@gmail.com>
6
6
  License: Proprietary
@@ -21,23 +21,31 @@ Requires-Dist: requests
21
21
 
22
22
  A command-line tool for executing SQL commands against the Onehouse API with synchronous responses.
23
23
 
24
+ ## Installation
25
+
26
+ ```bash
27
+ pip install onehouse-cli
28
+ ```
29
+
24
30
  ## Setup
25
- 1. **Create a virtual environment and install dependencies:**
26
- ```bash
27
- python3 -m venv venv
28
- source venv/bin/activate
29
- pip install -r requirements.txt
30
- ```
31
- 2. **Configure credentials:**
32
- From withing the `onehouse-cli` directory, run:
33
- ```bash
34
- ./onehouse-cli-configure
35
- ```
36
- Prompts for: Profile name, Account UID, Project UID, API Key, API Secret, Project Region, User ID, Request ID, Environment (production or staging)
37
-
38
- **Note:** The tool will ask if you want to automatically add the CLI tools to your shell PATH for global access.
39
-
40
- 3. **Credentials are stored in:** `~/.onehouse/credentials`
31
+
32
+ **Configure credentials:**
33
+ ```bash
34
+ onehouse-cli-configure
35
+ ```
36
+
37
+ This will prompt you for:
38
+ - Profile name
39
+ - Account UID
40
+ - Project UID
41
+ - API Key
42
+ - API Secret
43
+ - Project Region
44
+ - User ID
45
+ - Request ID
46
+ - Environment (production or staging)
47
+
48
+ **Credentials are stored in:** `~/.onehouse/credentials`
41
49
 
42
50
  ## Usage
43
51
 
@@ -68,7 +76,7 @@ onehouse-cli --command "ALTER OCU SET LIMIT = '3'" --profile myprofile --timeout
68
76
 
69
77
  ```bash
70
78
  # Configure first profile
71
- ./onehouse-cli-configure
79
+ onehouse-cli-configure
72
80
 
73
81
  # Execute queries
74
82
  onehouse-cli --command "SHOW LAKES" --profile apex
@@ -2,23 +2,31 @@
2
2
 
3
3
  A command-line tool for executing SQL commands against the Onehouse API with synchronous responses.
4
4
 
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install onehouse-cli
9
+ ```
10
+
5
11
  ## Setup
6
- 1. **Create a virtual environment and install dependencies:**
7
- ```bash
8
- python3 -m venv venv
9
- source venv/bin/activate
10
- pip install -r requirements.txt
11
- ```
12
- 2. **Configure credentials:**
13
- From withing the `onehouse-cli` directory, run:
14
- ```bash
15
- ./onehouse-cli-configure
16
- ```
17
- Prompts for: Profile name, Account UID, Project UID, API Key, API Secret, Project Region, User ID, Request ID, Environment (production or staging)
18
-
19
- **Note:** The tool will ask if you want to automatically add the CLI tools to your shell PATH for global access.
20
-
21
- 3. **Credentials are stored in:** `~/.onehouse/credentials`
12
+
13
+ **Configure credentials:**
14
+ ```bash
15
+ onehouse-cli-configure
16
+ ```
17
+
18
+ This will prompt you for:
19
+ - Profile name
20
+ - Account UID
21
+ - Project UID
22
+ - API Key
23
+ - API Secret
24
+ - Project Region
25
+ - User ID
26
+ - Request ID
27
+ - Environment (production or staging)
28
+
29
+ **Credentials are stored in:** `~/.onehouse/credentials`
22
30
 
23
31
  ## Usage
24
32
 
@@ -49,7 +57,7 @@ onehouse-cli --command "ALTER OCU SET LIMIT = '3'" --profile myprofile --timeout
49
57
 
50
58
  ```bash
51
59
  # Configure first profile
52
- ./onehouse-cli-configure
60
+ onehouse-cli-configure
53
61
 
54
62
  # Execute queries
55
63
  onehouse-cli --command "SHOW LAKES" --profile apex
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: onehouse-cli
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: A command-line tool for executing SQL commands against the Onehouse API
5
5
  Author-email: Sagar Lakshmipathy <18vidhyasagar@gmail.com>
6
6
  License: Proprietary
@@ -21,23 +21,31 @@ Requires-Dist: requests
21
21
 
22
22
  A command-line tool for executing SQL commands against the Onehouse API with synchronous responses.
23
23
 
24
+ ## Installation
25
+
26
+ ```bash
27
+ pip install onehouse-cli
28
+ ```
29
+
24
30
  ## Setup
25
- 1. **Create a virtual environment and install dependencies:**
26
- ```bash
27
- python3 -m venv venv
28
- source venv/bin/activate
29
- pip install -r requirements.txt
30
- ```
31
- 2. **Configure credentials:**
32
- From withing the `onehouse-cli` directory, run:
33
- ```bash
34
- ./onehouse-cli-configure
35
- ```
36
- Prompts for: Profile name, Account UID, Project UID, API Key, API Secret, Project Region, User ID, Request ID, Environment (production or staging)
37
-
38
- **Note:** The tool will ask if you want to automatically add the CLI tools to your shell PATH for global access.
39
-
40
- 3. **Credentials are stored in:** `~/.onehouse/credentials`
31
+
32
+ **Configure credentials:**
33
+ ```bash
34
+ onehouse-cli-configure
35
+ ```
36
+
37
+ This will prompt you for:
38
+ - Profile name
39
+ - Account UID
40
+ - Project UID
41
+ - API Key
42
+ - API Secret
43
+ - Project Region
44
+ - User ID
45
+ - Request ID
46
+ - Environment (production or staging)
47
+
48
+ **Credentials are stored in:** `~/.onehouse/credentials`
41
49
 
42
50
  ## Usage
43
51
 
@@ -68,7 +76,7 @@ onehouse-cli --command "ALTER OCU SET LIMIT = '3'" --profile myprofile --timeout
68
76
 
69
77
  ```bash
70
78
  # Configure first profile
71
- ./onehouse-cli-configure
79
+ onehouse-cli-configure
72
80
 
73
81
  # Execute queries
74
82
  onehouse-cli --command "SHOW LAKES" --profile apex
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "onehouse-cli"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "A command-line tool for executing SQL commands against the Onehouse API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.7"
File without changes