Skip to content

Instantly share code, notes, and snippets.

@emaxerrno
Created October 20, 2015 18:12
Show Gist options
  • Select an option

  • Save emaxerrno/5a487f731323cf84d4be to your computer and use it in GitHub Desktop.

Select an option

Save emaxerrno/5a487f731323cf84d4be to your computer and use it in GitHub Desktop.
concord-deploy.el
(defun concord-deploy (json-file)
"Prompt user to enter a file path, with file name completion and input history support."
(interactive (list (read-file-name "Open directory:")) )
(message (shell-command-to-string (concat "concord deploy " json-file)))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment