Skip to content

You can watch the change log of psd file using git.

License

Notifications You must be signed in to change notification settings

gitter-badger/psdwatcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://raw.github.com/alice1017/psdwatcher/master/logo.jpg

What is psdwatcher?

psdwatcher はPhotoshopで扱う PSDファイル の変更を git を使ってステージングやコミットを行い、 いつでも前のバージョン見れるようにする Pythonスクリプトです。

Install

$ git clone git://github.com/alice1017/psdwatcher.git
$ cd psdwatcher
$ python setup.py build install

How to Use?

psdwatcher は、わずか 2 Step で使用出来ます。

1. ウォッチリストにPSDファイルを登録する

$ psdwatcher add sample.psd

まず、psdwatcherに変更を追って欲しいPSDファイルを登録します。 psdwatcherの add コマンドを使ってください。

add [PSD_FILE]
PSDファイルをpsdwatcherに登録する

2. psdwatcherをrunする

$ psdwatcher run

PSDファイルを登録したら、あとはpsdwatcherを run するだけです。

runコマンドを起動したら、さっそくphotoshopを開いてpsdwatcherに登録したpsdファイルを編集してください。 psdwatcherがその編集を監視し、gitへステージング・コミットします。

psdwatcherはPSDファイルの変更を追うためのトリガーとしてrunコマンドを使用しています。 このトリガーは後々変更するかもしれません。

run [, [-o [LOG_FILE]], [--not-output-log], [--dev]]

PSDファイルのウォッチングを始める。

-o:psdwatcherが出力したログをログファイルに書き出す。
--dev:開発者向けログレベルに設定
--not-output-log:ログを出力しない

Other Comamnd Usage

上記で挙げた以外のコマンドの説明です。

list
psdwatcherが所持しているウォッチリストに登録されているPSDファイルを出力します。

TODO

Add --background option at run command
python-daemon モジュールを使ってrunコマンドの動きをbackgroundで行うオプションを作る

About

You can watch the change log of psd file using git.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%