not-manage 0.1.17
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.
- package/LICENSE +176 -0
- package/NOTICE +5 -0
- package/README.md +227 -0
- package/bin/not-manage.js +9 -0
- package/package.json +55 -0
- package/src/cli.js +668 -0
- package/src/clio-api.js +384 -0
- package/src/commands-activities.js +356 -0
- package/src/commands-auth.js +465 -0
- package/src/commands-billable-clients.js +152 -0
- package/src/commands-billable-matters.js +150 -0
- package/src/commands-bills.js +250 -0
- package/src/commands-contacts.js +179 -0
- package/src/commands-matters.js +214 -0
- package/src/commands-practice-areas.js +249 -0
- package/src/commands-tasks.js +213 -0
- package/src/commands-users.js +192 -0
- package/src/constants.js +50 -0
- package/src/keychain.js +63 -0
- package/src/oauth-callback.js +107 -0
- package/src/open-browser.js +33 -0
- package/src/postinstall.js +140 -0
- package/src/prompt.js +103 -0
- package/src/redaction.js +568 -0
- package/src/redirect-uri.js +53 -0
- package/src/resource-utils.js +141 -0
- package/src/store.js +178 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
package/NOTICE
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
# not-manage
|
|
2
|
+
|
|
3
|
+
`not-manage` is an unofficial command-line tool for Clio Manage integrations and AI workflows.
|
|
4
|
+
|
|
5
|
+
This project is a terminal CLI from [Not Operations](https://notoperations.com/legal). It is not a Clio product, and it is not affiliated with, endorsed by, or sponsored by Clio or Themis Solutions Inc.
|
|
6
|
+
|
|
7
|
+
## Package
|
|
8
|
+
|
|
9
|
+
- npm package: `not-manage`
|
|
10
|
+
- command: `not-manage`
|
|
11
|
+
- type: terminal command-line tool
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm i -g not-manage && not-manage
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
This is the recommended install flow because npm does not always show postinstall output consistently.
|
|
20
|
+
|
|
21
|
+
What happens next:
|
|
22
|
+
|
|
23
|
+
- first-time setup: `not-manage` starts guided setup
|
|
24
|
+
- returning setup: `not-manage` opens normally and can verify the saved connection
|
|
25
|
+
- install/setup warning: the CLI reminds you that output may contain confidential client data and that redaction is best-effort only
|
|
26
|
+
|
|
27
|
+
You can also run the command separately after install:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
not-manage
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
or:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
not-manage setup
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
To suppress the install-time prompt entirely:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
NOT_MANAGE_SKIP_POSTINSTALL_SETUP=1 npm i -g not-manage && not-manage
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
For local development:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
git clone https://github.com/Not-Operations/not-manage.git
|
|
49
|
+
cd not-manage
|
|
50
|
+
npm install
|
|
51
|
+
node bin/not-manage.js --help
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## 5-minute setup
|
|
55
|
+
|
|
56
|
+
1. Run setup:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
not-manage auth setup
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
2. Choose your Clio region in the CLI.
|
|
63
|
+
3. When the CLI opens the Clio developer portal, sign in there.
|
|
64
|
+
4. Open your Clio developer app there, or create one first if you do not have one yet.
|
|
65
|
+
5. Fill out the Clio app form:
|
|
66
|
+
- `Website URL`: use your firm site, company site, or GitHub repo
|
|
67
|
+
- do not put the loopback callback URL in `Website URL`
|
|
68
|
+
- select only the Clio permissions your workflow will actually use through this tool
|
|
69
|
+
- `Redirect URIs`: copy `http://127.0.0.1:53123/callback`
|
|
70
|
+
6. Copy the App Key and App Secret from that same Clio app back into the CLI.
|
|
71
|
+
7. Finish login:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
not-manage auth login
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
8. Verify:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
not-manage auth status
|
|
81
|
+
not-manage whoami
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
During setup, the CLI asks you to acknowledge that:
|
|
85
|
+
|
|
86
|
+
- command output can contain confidential or privileged client information
|
|
87
|
+
- `--redacted` is best-effort only and may miss identifiers in labels, custom fields, or free text
|
|
88
|
+
- you must review output before sharing it with AI tools or other third parties
|
|
89
|
+
|
|
90
|
+
## Local-only docs
|
|
91
|
+
|
|
92
|
+
- [PRIVACY.md](PRIVACY.md)
|
|
93
|
+
- [DATA-HANDLING.md](DATA-HANDLING.md)
|
|
94
|
+
- [DISCLAIMER.md](DISCLAIMER.md)
|
|
95
|
+
- [SECURITY.md](SECURITY.md)
|
|
96
|
+
- [TERMS.md](TERMS.md)
|
|
97
|
+
- [OPERATIONS.md](OPERATIONS.md)
|
|
98
|
+
|
|
99
|
+
## Core commands
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
not-manage setup
|
|
103
|
+
not-manage auth setup
|
|
104
|
+
not-manage auth login
|
|
105
|
+
not-manage auth status
|
|
106
|
+
not-manage activities list
|
|
107
|
+
not-manage activity get 123
|
|
108
|
+
not-manage tasks list
|
|
109
|
+
not-manage task get 789
|
|
110
|
+
not-manage contacts list
|
|
111
|
+
not-manage contact get 12345
|
|
112
|
+
not-manage time-entries list
|
|
113
|
+
not-manage billable-clients list
|
|
114
|
+
not-manage billable-matters list
|
|
115
|
+
not-manage bills list
|
|
116
|
+
not-manage bill get 987
|
|
117
|
+
not-manage invoices list
|
|
118
|
+
not-manage matters list
|
|
119
|
+
not-manage matter get 456
|
|
120
|
+
not-manage users list
|
|
121
|
+
not-manage user get 123
|
|
122
|
+
not-manage practice-areas list
|
|
123
|
+
not-manage practice-area get 45
|
|
124
|
+
not-manage matters list --status open --limit 50
|
|
125
|
+
not-manage matters list --all --json
|
|
126
|
+
not-manage whoami
|
|
127
|
+
not-manage auth revoke
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Plural commands still work. Singular aliases are accepted for the single-record flows so `contact get 12345` and `contacts get 12345` both work.
|
|
131
|
+
|
|
132
|
+
Every data command also accepts `--fields <comma-separated-list>` to override the default response shape. If you pass `--fields` with no value, the CLI prints the current default field list for that command.
|
|
133
|
+
|
|
134
|
+
## Read-only examples
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
not-manage activities list --status unbilled --matter-id 456
|
|
138
|
+
not-manage activities list --client-id 999 --all
|
|
139
|
+
not-manage activity get 123
|
|
140
|
+
not-manage time-entries list --user-id 88 --start-date 2026-03-01
|
|
141
|
+
|
|
142
|
+
not-manage tasks list
|
|
143
|
+
not-manage tasks list --matter-id 456
|
|
144
|
+
not-manage tasks list --client-id 999 --complete false
|
|
145
|
+
not-manage task get 789
|
|
146
|
+
|
|
147
|
+
not-manage contacts list --query "acme" --client-only
|
|
148
|
+
not-manage contact get 12345
|
|
149
|
+
|
|
150
|
+
not-manage matters list --status open --client-id 999
|
|
151
|
+
not-manage matters list --fields
|
|
152
|
+
not-manage matter get 456
|
|
153
|
+
|
|
154
|
+
not-manage bills list --overdue-only --client-id 999
|
|
155
|
+
not-manage bills list --matter-id 456
|
|
156
|
+
not-manage bill get 987
|
|
157
|
+
not-manage invoices list --state awaiting_payment
|
|
158
|
+
not-manage invoices list --matter-id 456
|
|
159
|
+
not-manage invoice get 987
|
|
160
|
+
|
|
161
|
+
not-manage users list --name "Sarah"
|
|
162
|
+
not-manage user get 123
|
|
163
|
+
|
|
164
|
+
not-manage practice-areas list --name "Family"
|
|
165
|
+
not-manage practice-areas list --matter-id 456
|
|
166
|
+
not-manage practice-area get 45
|
|
167
|
+
|
|
168
|
+
not-manage billable-matters list --client-id 999
|
|
169
|
+
not-manage billable-clients list --start-date 2026-03-01
|
|
170
|
+
not-manage matter get 456 --redacted
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
## Redacted mode
|
|
174
|
+
|
|
175
|
+
- Supported data commands are redacted by default.
|
|
176
|
+
- Add `--unredacted` to show raw output.
|
|
177
|
+
- `--redacted` is still accepted for compatibility.
|
|
178
|
+
- The first version redacts client/contact names, emails, phone numbers, and common PII patterns that appear inside free-text fields such as matter descriptions, activity notes, bill memos, and bill subjects.
|
|
179
|
+
- Internal staff fields such as `user`, `responsible_attorney`, `responsible_staff`, and `originating_attorney` remain visible.
|
|
180
|
+
- Redaction is best-effort only. Review output before sharing it outside your firm or with any AI or third-party service.
|
|
181
|
+
- High-risk commands such as contacts, matters, activities, bills, invoices, tasks, and billable client or matter views emit additional review warnings.
|
|
182
|
+
- `--unredacted` on those high-risk commands emits a stronger warning because raw output may include client-identifying, confidential, or privileged information.
|
|
183
|
+
|
|
184
|
+
## Security model
|
|
185
|
+
|
|
186
|
+
- Default storage is OS keychain (`macOS Keychain`, `Windows Credential Manager`, `Linux Secret Service`).
|
|
187
|
+
- Setup masks the App Secret when you type it in the terminal.
|
|
188
|
+
- Local OAuth redirects are restricted to loopback HTTP callbacks such as `http://127.0.0.1:53123/callback`.
|
|
189
|
+
- API pagination links are validated before the CLI sends a bearer token to them.
|
|
190
|
+
- This CLI requires a working OS keychain for Clio app credentials and OAuth tokens.
|
|
191
|
+
- Tokens are never written to plaintext files by default.
|
|
192
|
+
- Command output can contain sensitive client and matter data, so avoid shell logging, screen sharing, or pasting raw output into tickets and chats.
|
|
193
|
+
- This CLI does not guarantee privilege-safe or de-identified output. Your firm still needs its own review process, approved vendors, and legal/privacy sign-off where required.
|
|
194
|
+
|
|
195
|
+
## Repository hardening
|
|
196
|
+
|
|
197
|
+
- GitHub Actions runs CI on pull requests and default-branch pushes across supported Node versions.
|
|
198
|
+
- Dependency Review blocks high-severity dependency additions in pull requests.
|
|
199
|
+
- CodeQL runs on pull requests, default-branch pushes, and a weekly schedule.
|
|
200
|
+
- Semgrep Community Edition runs on pull requests, default-branch pushes, and a weekly schedule for JavaScript-focused static security scanning.
|
|
201
|
+
- Dependabot is configured for both npm dependencies and GitHub Actions.
|
|
202
|
+
- npm release publishing is set up for provenance-backed trusted publishing from GitHub Actions using the `npm` environment.
|
|
203
|
+
|
|
204
|
+
## Troubleshooting
|
|
205
|
+
|
|
206
|
+
- `OS keychain ... failed`: re-enable your OS keychain service or run the CLI in a supported desktop session with keychain access.
|
|
207
|
+
- `Redirect URI must use ... loopback ...`: this CLI only supports local loopback OAuth callbacks. Use `http://127.0.0.1:<port>/callback` or `http://localhost:<port>/callback`.
|
|
208
|
+
- `403 Forbidden`: confirm your Clio app has the relevant Clio permissions for Contacts, Matters, Bills, Users, or Practice Areas, then re-authorize.
|
|
209
|
+
- `401 Unauthorized`: run `not-manage auth login` again.
|
|
210
|
+
|
|
211
|
+
## Contributing
|
|
212
|
+
|
|
213
|
+
Contributions are accepted under `Apache-2.0`. This project uses a Developer Certificate of Origin instead of a CLA, so sign commits with `git commit -s`.
|
|
214
|
+
|
|
215
|
+
See `CONTRIBUTING.md` for the workflow and `DCO` for the certificate text.
|
|
216
|
+
|
|
217
|
+
## License
|
|
218
|
+
|
|
219
|
+
Licensed under `Apache-2.0`. See `LICENSE` and `NOTICE`.
|
|
220
|
+
|
|
221
|
+
## Trademark notice
|
|
222
|
+
|
|
223
|
+
Clio is a trademark of Themis Solutions Inc. `not-manage` is an independent command-line tool from Not Operations and is not affiliated with, endorsed by, or sponsored by Clio or Themis Solutions Inc.
|
|
224
|
+
|
|
225
|
+
## Security
|
|
226
|
+
|
|
227
|
+
Please do not post vulnerabilities, OAuth credentials, tokens, or real client data in public issues. See `SECURITY.md`.
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "not-manage",
|
|
3
|
+
"version": "0.1.17",
|
|
4
|
+
"description": "Unofficial command-line tool for Clio Manage integrations",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"private": false,
|
|
7
|
+
"type": "commonjs",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/Not-Operations/not-manage.git"
|
|
11
|
+
},
|
|
12
|
+
"bin": {
|
|
13
|
+
"not-manage": "bin/not-manage.js"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"bin",
|
|
17
|
+
"src",
|
|
18
|
+
"README.md",
|
|
19
|
+
"NOTICE"
|
|
20
|
+
],
|
|
21
|
+
"keywords": [
|
|
22
|
+
"clio",
|
|
23
|
+
"not-manage",
|
|
24
|
+
"command-line",
|
|
25
|
+
"terminal",
|
|
26
|
+
"legal",
|
|
27
|
+
"law-firm",
|
|
28
|
+
"case-management",
|
|
29
|
+
"oauth2",
|
|
30
|
+
"mcp",
|
|
31
|
+
"cli"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"check": "npm run check:syntax && npm test",
|
|
35
|
+
"check:security": "npm audit --audit-level=high",
|
|
36
|
+
"check:syntax": "node --check bin/not-manage.js && node --check src/*.js && node --check test/*.test.js && node --check test/helpers/*.js",
|
|
37
|
+
"dev": "node bin/not-manage.js",
|
|
38
|
+
"pack:check": "npm pack --dry-run",
|
|
39
|
+
"postinstall": "node src/postinstall.js",
|
|
40
|
+
"seed:handbook-imports": "node scripts/generate-handbook-import-csvs.js",
|
|
41
|
+
"seed:historical": "node scripts/seed-historical-data.js",
|
|
42
|
+
"start": "node bin/not-manage.js",
|
|
43
|
+
"test": "node --test test/*.test.js"
|
|
44
|
+
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public",
|
|
47
|
+
"provenance": true
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"keytar": "^7.9.0"
|
|
51
|
+
},
|
|
52
|
+
"engines": {
|
|
53
|
+
"node": ">=20"
|
|
54
|
+
}
|
|
55
|
+
}
|