Skip to content

Commit a2c5d48

Browse files
CopilotMossaka
andauthored
fix: use version from package.json in cli (#91)
* Initial plan * fix: use version from package.json in cli Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
1 parent 9dd9e54 commit a2c5d48

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/cli.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import { runMainWorkflow } from './cli-workflow';
2323
import { redactSecrets } from './redact-secrets';
2424
import { validateDomainOrPattern } from './domain-patterns';
2525
import { OutputFormat } from './types';
26+
import { version } from '../package.json';
2627

2728
/**
2829
* Parses a comma-separated list of domains into an array of trimmed, non-empty domain strings
@@ -296,7 +297,7 @@ const program = new Command();
296297
program
297298
.name('awf')
298299
.description('Network firewall for agentic workflows with domain whitelisting')
299-
.version('0.1.0')
300+
.version(version)
300301
.option(
301302
'--allow-domains <domains>',
302303
'Comma-separated list of allowed domains. Supports wildcards:\n' +

0 commit comments

Comments
 (0)