1.28.0 • Published 15 days ago

larceny v1.28.0

Weekly downloads
3
License
ISC
Repository
github
Last release
15 days ago

larceny

Command line interface to PostCSS theft plugin.

NPX

$ npx larceny -ca -u https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css -s .btn -t .my-button -f my-style.css

NPM -g Installation

$ npm -g install larceny

Prepare a CSS file (optional if -ca is used)

You can skip this step if you use -c to create target file and -a to append then missing .my-button target selector.

$ echo '.my-button {}' > style.css

Perpetrate Larceny <3

$ larceny -u https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css -s .btn -t .my-button -f style.css

The perfect crime.

$ cat style.css

.my-button {
    display: inline-block;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    border: 1px solid transparent;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: .25rem;
    -webkit-transition: all .2s ease-in-out;
         -o-transition: all .2s ease-in-out;
            transition: all .2s ease-in-out;
}

Usage

  -V, --version                     output the version number
  -u, --url [url]                   Url of remote file.
  -s, --source-selector [selector]  Source selector
  -t, --target-selector [selector]  Target selector (in local file)
  -f, --file [path]                 Add the specified type of cheese [styles.css]
  -c, --create-file                 Create css file if it does not exist
  -a, --append-target               Create target selector if missing
  -h, --help                        output usage information
1.28.0

15 days ago

1.27.0

2 months ago

1.26.0

4 months ago

1.25.0

5 months ago

1.24.0

8 months ago

1.22.0

11 months ago

1.23.0

10 months ago

1.19.0

1 year ago

1.21.0

1 year ago

1.20.0

1 year ago

1.18.0

1 year ago

1.17.0

1 year ago

1.16.0

1 year ago

1.15.0

2 years ago

1.14.0

2 years ago

1.13.0

2 years ago

1.12.0

2 years ago

1.11.0

2 years ago

1.10.0

2 years ago

1.9.0

2 years ago

1.8.0

2 years ago

1.7.0

2 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago