2.1.1 • Published 4 years ago
styleinjection v2.1.1
Installation
npm i -g styleinjectionUsage
styleinjection [path] [options]stylincan be used as a shorthand forstyleinjection.- All arguments to the command are optional.
- Running the command without a path will prompt to choose a file from the current directory.
- A path can be an absolute path (
C:/folder/file), or a relative path (folder/file). - Backslashes (
\) can also be used in a path. - The result will be copied to the clipboard if the
--saveoption is not used. - Options can be used without a path.
- The available options are:
|Name|Shorthand|Description|
|-|-|-|
|
--save|-s|Save the result to a file in the same directory.| |--watch|-w|Watch the file for changes.| |--version|-v|Print the current version to the console.|
Examples
styleinjection My Style Sheetstylin Style Sheets/My Style Sheet -s -wThe result can then be pasted into the developer console of a browser.