Package Exports
- abswap
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (abswap) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
abswap
Swap a/b directories or files using symlinks.
Example
Initialize:
$ abswap --init example
$ ls -l
lrwxrwxrwx 1 mroth mroth 9 Jun 26 11:30 example -> example.a
drwxrwxr-x 2 mroth mroth 4096 Jun 26 11:30 example.a
drwxrwxr-x 2 mroth mroth 4096 Jun 26 11:30 example.b
lrwxrwxrwx 1 mroth mroth 9 Jun 26 11:30 example.inactive -> example.bSwap directories:
$ abswap example
$ ls -l
lrwxrwxrwx 1 mroth mroth 9 Jun 26 11:32 example -> example.b
drwxrwxr-x 2 mroth mroth 4096 Jun 26 11:30 example.a
drwxrwxr-x 2 mroth mroth 4096 Jun 26 11:30 example.b
lrwxrwxrwx 1 mroth mroth 9 Jun 26 11:32 example.inactive -> example.aOf course, calling abswap again swaps back again.
Features
- Works with directories and regular files.
- ...
Install
TBW.
Usage
TBW.
Built With
- TypeScript - JavaScript that scales.
- Jest - Delightful JavaScript Testing.
- TSLint - An extensible linter for the TypeScript language.
- Prettier - Opinionated Code Formatter.
- Visual Studio Code - Code editing. Redefined.
Contributing
Pull requests, patches, emails, issues, what ever, are welcomed!
Author
License
This project is licensed under the MIT License - see LICENSE for details.