0.0.38 • Published 10 months ago

splito v0.0.38

Weekly downloads
54
License
MIT
Repository
github
Last release
10 months ago

ALPHA working, but not ready

splito

Save-execute editor for multiple file editing

Concept

Edit a file named ghostfile.js with the content:

☢ exec "find src"
☢ load "src"
☢ pick "./package.json"

And everytime you save every line starting with should be executed. All lines between statements are part of the statement above. The example code above will execute to:

☢ SUCCESS exec "find src"
src/
src/index.js
☢ SUCCESS load "src/*.js"
☢ pick "src/index.js"
☢ file "./package.json"
{
  ...<content of package.json>..
}

Now any changes you make to the content of ☢ file "./package.json" will be replicated to package.json. Soon it will be vice-versa

existing commands

exec ☢ exec <command>

Will execute the command and add the stdout as lines below.

load ☢ load "<glob>"

Will find all files mathing the glob and add the lines as: ☢ pick "<filepath>"

pick ☢ pick "<filepath>"

Will load the contents of a file under a ☢ file "<filepath>"

file ☢ file "<filepath>"

Will replicate any changes to the lines below into the specified file

current limitations

  • Some update events are being ignored by chokidar.
  • Still not applying listeners to ☢ file
0.0.37

10 months ago

0.0.38

10 months ago

0.0.36

10 months ago

0.0.32

2 years ago

0.0.33

2 years ago

0.0.34

2 years ago

0.0.35

2 years ago

0.0.31

3 years ago

0.0.30

3 years ago

0.0.29

3 years ago

0.0.27

3 years ago

0.0.28

3 years ago

0.0.26

3 years ago

0.0.24

3 years ago

0.0.25

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago