lib/jive/cli.rb in jive-0.2.0 vs lib/jive/cli.rb in jive-0.2.1
- old
+ new
@@ -22,9 +22,18 @@
["cd", target_dir],
["setenv", "JIVE_LAST_RUN=#{Time.now.to_i}"]
])
end
+ desc "setup", "provide instructions to integrate into shell"
+ def setup
+ say <<~MESSAGE
+ Include the following in your ~/.bash_profile
+
+ source #{::Jive.root.join("jive.sh")}
+ MESSAGE
+ end
+
private
COMMAND_MAP = {
cd: "/usr/bin/cd",
echo: "/usr/bin/echo",