Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/commands/drive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ interface DriveExportOptions {
export function registerDriveCommands(program: Command): void {
const drive = program
.command('drive')
.description('Manage Google Drive files (read-only)');
.description('Manage Google Drive files (read-only)')
.enablePositionalOptions()
.passThroughOptions();

// drive list
drive
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ program
.name('gwcli')
.description('Google Workspace CLI - Manage Gmail, Calendar, and Drive with multi-profile support')
.version('0.1.0')
.enablePositionalOptions()
.option('-p, --profile <name>', 'Use a specific profile (overrides GWCLI_PROFILE and default)')
.option('-f, --format <type>', 'Output format: json, table, text', 'table');

Expand Down