1.0.0 • Published 4 months ago

electron-swan v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Features

  • List all local artifacts and disk usage
  • Clean up by version range to save disk space
  • Check for updates by version range
  • Make Electron installation faster

Usage

See swan --help for more details

swan list

Aliases: swan ls.

List all local artifacts.

OptionsDescription
-p, --platfromspecify platform, e.g. darwin, win32, linux
-a, --archspecify architecture, e.g. x64, ia32, arm64
-d, --detailshow all archives (default: false)

swan remove \<version>

Aliases: swan rm <version>.

Clean up local artifacts by version range. The version is required and is satisfied by the version range according to semver.

You can use -f, --force option to remove directly without confirmation.

swan check version

Check for updates by version prefix. You can use --tag option to check prerelease version, the tag must be beta or alpha.

swan install version

Aliases: swan i, swan add.

Download the newer version that is satisfied by the version range according to semver. If no version range is specified, the latest version will be downloaded.

OptionsDescription
-p, --platfromspecify platform, e.g. darwin, win32, linux
-a, --archspecify architecture, e.g. x64, ia32, arm64
--mirrorspecify mirrors to download Electron release artifacts (default: npm mirror)

License

MIT © alex.wei

1.0.0

4 months ago

1.0.0-beta.1

4 months ago

1.0.0-beta.0

4 months ago

1.0.0-alpha.3

4 months ago

1.0.0-alpha.2

4 months ago

1.0.0-alpha.1

4 months ago

1.0.0-alpha.0

4 months ago