-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alan Shaw
committed
Oct 18, 2023
1 parent
58ecaff
commit 1918ed3
Showing
3 changed files
with
783 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
import sade from 'sade' | ||
import open from 'open' | ||
import updateNotifier from 'update-notifier' | ||
import { getPkg } from './lib.js' | ||
import { | ||
accessClaim, | ||
|
@@ -30,10 +31,14 @@ import { | |
uploadRemove | ||
} from './can.js' | ||
|
||
const pkg = getPkg() | ||
|
||
updateNotifier({ pkg }).notify() | ||
|
||
const cli = sade('w3') | ||
|
||
cli | ||
.version(getPkg().version) | ||
.version(pkg.version) | ||
.example('authorize [email protected]') | ||
.example('up path/to/files') | ||
|
||
|
Oops, something went wrong.