-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClaudeUsage.psd1
More file actions
60 lines (48 loc) · 1.59 KB
/
ClaudeUsage.psd1
File metadata and controls
60 lines (48 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
@{
# Module metadata
ModuleVersion = '1.1.1'
GUID = 'a8b9c0d1-e2f3-4a5b-6c7d-8e9f0a1b2c3d'
Author = 'Yass Fuentes'
CompanyName = ''
Copyright = '(c) 2025. All rights reserved.'
Description = 'Query Claude Code usage programmatically from PowerShell. Monitor 5-hour, 7-day, and Opus usage limits.'
# Module file
RootModule = 'ClaudeUsage.psm1'
# Minimum PowerShell version
PowerShellVersion = '5.1'
# Functions to export
FunctionsToExport = @('Get-ClaudeUsage')
# Cmdlets to export
CmdletsToExport = @()
# Variables to export
VariablesToExport = '*'
# Aliases to export
AliasesToExport = @()
# Private data
PrivateData = @{
PSData = @{
# Tags for PowerShell Gallery
Tags = @('Claude', 'ClaudeCode', 'AI', 'Anthropic', 'Usage', 'Monitoring', 'API', 'CLI')
# License URI
LicenseUri = 'https://github.com/backmind/ClaudeUsage/blob/main/LICENSE'
# Project URI
ProjectUri = 'https://github.com/backmind/ClaudeUsage'
# Icon URI
# IconUri = ''
# Release notes
ReleaseNotes = @'
Version 1.1.0:
- Added -Brief paramater to show onliner information for 5h window
- Added -ShowAll parameter to display all available usage windows
- Support for 7-day, Opus, and OAuth app limits (Claude Max)
- Improved formatting and color-coding
- Full English translation
- Better error handling
Version 1.0.0:
- Initial release
- Basic 5-hour window usage query
- Automatic token reading from credentials file
'@
}
}
}