cabgfx / powder

Makes Pow even easier. I mean really, really, ridiculously easy

Home Page:http://git.io/powder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

powder manages pow

Install

gem install powder

Usage

Linking apps in Pow

powder will attempt to read .powder, which names a default symlink for the current project

$ powder [-h|help]
=> Display usage information
# Lists name and brief descriptions of the tasks available

$ powder link
=> Link the current dir to ~/.pow/<current_directory>

$ powder link [bacon]
=> Link the current dir to ~/.pow/bacon
=> Create .powder, contents bacon

$ powder link [bacon] --no-create
=> Link the current dir to ~/.pow/bacon

$ powder link [bacon] --force
=> Remove the current pow symlink, and .powder
=> Link the current dir to ~/.pow/bacon
=> Create .powder, contents bacon

# For both forms of link, if the current directory doesn't
# look like an app that can be powed it will offer to download
# a basic config.ru for Rails 2

$ powder unlink
=> Unlink current_dir or the symlink defined in .powder

$ powder unlink bacon
=> Unlink bacon

$ powder cleanup
=> remove all invalid symbolic links

Working with Pow

$ powder applog
=> tail the log of the current app

$ powder config
=> Get Pow's current configuration information

$ powder list
=> List all the current apps linked in ~/.pow
# aliased as powder -l

$ powder log
=> Tails the pow log.
# Not the application log, but the pow log, available at
# ~/Library/Logs/Pow/apps/#{app-directory}.log

$ powder open
=> Opens the pow link in a browser
# aliased as powder -o

$ powder open [bacon]
=> Opens http://bacon.dev in a browser
# if you have set up alternative top level domains in .powconfig,
# then the first listed domain will be opened.

$ powder restart
=> Restart the current app
# aliased as powder -r

$ powder always_restart
=> Always restart the current app
# aliased as powder -a

$ powder no_restarts
=>  don't do any automatic restarting of the current app

$ powder status
=> Get Pow's current status information

$ powder version
=> Returns the current powder version
# aliased as powder -v

Install and uninstall Pow

$ powder install
=> Installs pow server
# (I know, "curl get.pow.cx | sh" isn't hard, but this is _even_ easier)

$ powder uninstall
=> Uninstalls pow server

$ powder update
=> Updates pow server
# Really this is just an alias to powder install, but it feels more natural
# this way.

Enable and Disable Pow

$ powder up
=> Enable Pow

$ powder down
=> Disable Pow

Contributing

Powder now opperates a "no issues, just pull requests" policy. The gem really is so simple that there is no excuse not to fix any problems that you find, or implement any features that you want. Hack away, submit a pull request and we'll be notified. We're pretty up for accepting just about anything into powder, but it has to be directly related to managing pow (of course). If it's not, there may be some debate!

Get hacking!

Contributors

Built by rodreegez and philnash.

Massive thanks to all our great contributors

Copyright

Copyright (c) 2011 Adam Rogers and Phil Nash. See LICENSE for details.

Lovingly supported by Mint Digital

About

Makes Pow even easier. I mean really, really, ridiculously easy

http://git.io/powder

License:MIT License


Languages

Language:Ruby 100.0%