mirror of
https://github.com/status-im/re-natal.git
synced 2025-01-13 14:14:23 +00:00
Merge pull request #23 from figly/add-figwheel-bridge-command
Add copy-figwheel-bridge command - close #22
This commit is contained in:
commit
f99a05c689
@ -633,6 +633,12 @@ cli.command 'use-component <name>'
|
|||||||
.action (name) ->
|
.action (name) ->
|
||||||
useComponent(name)
|
useComponent(name)
|
||||||
|
|
||||||
|
cli.command 'copy-figwheel-bridge'
|
||||||
|
.description 'copy figwheel-bridge.js into project'
|
||||||
|
.action () ->
|
||||||
|
copyFigwheelBridge(readConfig(false).name)
|
||||||
|
log "Copied figwheel-bridge.js"
|
||||||
|
|
||||||
cli.on '*', (command) ->
|
cli.on '*', (command) ->
|
||||||
logErr "unknown command #{command[0]}. See re-natal --help for valid commands"
|
logErr "unknown command #{command[0]}. See re-natal --help for valid commands"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user