Trellis commands for Cyberduck
Built with ♥ by Itineris
Ain't nobody got time for opening up Trellis files to check SFTP details. This CLI tool allows you to open SFTP connections to Trellis servers via Cyberduck with single command.
$ trellis-cyberduck open --help
Open SFTP connections to Trellis servers
Usage:
trellis-cyberduck open <environment> [<site>] [flags]
Examples:
$ trellis-cyberduck open production example.com
$ trellis-cyberduck open staging my-site --user admin
$ trellis-cyberduck open staging my-site --directory project_uploads_path
Flags:
-d, --directory string Directory to open. Options: project_root|project_source_path|project_uploads_path|project_current_symlink_path (default "project_root")
-h, --help help for open
-u, --user string User to connect. Options: web|admin (default "web")
If you have trellis-cli v0.10.0 or later installed, you can run it as a plugin command like so $ trellis cyberduck --help
.
It goes without saying, you should install Cyberduck first.
brew install itinerisltd/tap/trellis-cyberduck
trellis-cyberduck provides binary releases for a variety of OSes. These binary versions can be manually downloaded and installed.
- Download the latest release or any specific version
- Unpack it (
tar -zxvf trellis-cyberduck_0.1.0_Darwin_x86_64.tar.gz
) - Find the
trellis-cyberduck
binary, and move it to its desired destination (mv trellis-cyberduck /usr/local/bin/trellis-cyberduck
) - Make sure the above path is in your
$PATH
- Run the command. You should see macOS is blocking it
- Grant an exception for the binary by clicking the Open Anyway button in the General pane of Security & Privacy preferences. This button is available for about an hour after you try to run the command
If you have trellis-cli v0.10.0 or later installed, you can run it as a plugin command like so $ trellis cyberduck [command]
.
However, at the time of writting, trellis-cli plugin support hasn't be released yet.
Yes.
- Articles on Itineris' blog
- Projects on Itineris' GitHub profile
- WordPress plugins on Itineris and TangRufus wp.org profiles
- Follow @itineris_ltd and @TangRufus on Twitter
- Hire Itineris to build your next awesome site
Thanks! Glad you like it. It's important to let us knows somebody is using this project. Please consider:
- tweet something good with mentioning @itineris_ltd and @TangRufus
- ★ star the Github repo
- 👀 watch the Github repo
- write tutorials and blog posts
- hire Itineris
Please provide feedback! We want to make this project as useful as possible. Please submit an issue and point out what you do and don't like, or fork the project and send pull requests. No issue is too small.
If you discover a security vulnerability within this project, please email us at [email protected]. All security vulnerabilities will be promptly addressed.
trellis-cyberduck is a Itineris Limited project and created by Tang Rufus.
Full list of contributors can be found here.
trellis-cyberduck is released under the MIT License.