I actually figured out a way to do this. First you use wget like this:
wget --user username --ask-password -O path/to/output.zip https://bitbucket.org/path/to/file.zip
the -O flag specifies output and output.zip is where you want it to download to.
Then you can run:
wp theme install path/to/output.zip --activate
Happy days
Related Posts:
- Add a script as a dependency to a registered script
- Setting up an API “listening” page
- Serving wp-includes (front-end) javascript from a different domain?
- Shortest possible shell script to install WordPress on Nginx server?
- Add conversion/tracking pixel to section for specific post
- How can I selectively print scripts to the footer of certain admin pages?
- change $src from wp_register_script in plugins/themes
- By having WordPress in a subfolder does it mean more script executions?
- Script Code in Text Widget Does NOT Show
- Invision + WordPress integration
- wp_print_scripts runs twice
- How to serve wp-includes javascripts from CDN? [duplicate]
- Register scripts located in child theme?
- How to add GET variable after script url?
- Generating a static page from a script
- Refused to execute as script because “X-Content-Type: nosniff” was given and its Content-Type is not a script MIME type
- Media Library Cleanup A Thought Exercise
- Disable load scripts and styles not working
- Socialite not displaying icons [closed]
- Script dependencies generates different outputs
- Renaming the ‘build’ directory generated by @wordpress/scripts for React development
- wp-cli Enabling Maintainance Mode
- WP-CLI – Selecting PHP version
- How can I bulk delete media and attachments using WP-CLI?
- How do I clone or duplicate a post with the WordPress Command Line Interface WP-CLI?
- WP-CLI :: Cannot installing plugin as www-data
- How to reset passwords for all users on a network using wp cli
- Is it possible to change the attributes of a registered style or script before it fires?
- wp media regenerate unknown –image_size parameter
- Remove all users from site except one using WP CLI
- wp_register_script multiple identifiers?
- How can I use WP-CLI commands without –allow-root
- wp-cli create post and media import
- Using WP CLI to set options in WP Multisite
- What is the difference between the Package Language and the Site Language?
- How do I update a nested option?
- How to create post in WP network using WP-CLI
- How to prevent WP-CLI shell from exiting when an exception occurs?
- Importing featured image to posts, duplicates the image
- WP-CLI Get Site ID from its url
- WP-CLI alias: connect with ssh proxy
- How to perform WordPress backups using wp-cli?
- Help with enqueing scripts in footer after init action
- Ask WP-CLI latest core WordPress version released
- Regenerate thumbnails unexpected resolution (96 x 96)
- Writing scripts using WordPress / WooCommerce classes?
- How to clear Transients on all sites in Multi Sites environment
- WXR slicing script
- WP Cli will not execute on Windows
- Insert a button on a page with random number generation
- Different output from WP-CLI in bash vs PHP exec()
- Why won’t my scripts load?
- WP-CLI command to update all plugins and core fails when executed from cron
- Jetpack Upgrade fails with WP CLI [closed]
- When WP_CLI runs WordPress from the command line, are hooks called?
- Getting page output HTML without request (for CriticalCSS, PurgeCSS)
- How can I search and replace by post type?
- Error establishing a database connection when running phpunit
- Set Site Icon programmatically (eg. using `wp cli`)
- How to rename default category name and slug using WP CLI?
- Error: reassigning content to a different user is not supported on multisite
- Wildcard for wp-cli search-replace
- Get media url (featured image) with wp-cli
- Can I use wp-cli to create posts with a custom post types?
- How to Access Script Tags in Header
- Enqueuing a script before anything else
- Register Script in Plugin Widget
- Is it possible to add posts and images (auto resize) for custom post types with a script?
- Pass user role to javascript code inside body
- WP-CLI media import error
- Is it possible to view WP documentation within the WordPress shell?
- How to generate/create link automatically on every word of post in wordpress
- Userless db-only wordpress instalation
- WPCLI doesn’t recognize the site
- Script not loading when depending on jQuery
- wp-cli: Error establishing a database connection: undefined constant DB_USER
- Add passwords to config.yml to manage multiple sites
- Wp-CLI not working with WordPress installed with composer
- Can I customised default WP table
- WP_ENQUEUE not working with Foundation 5
- Automatically add a character to field in edit post page
- wp_enqueue_script JS code runs too late (after user begins interacting)
- WP-Cli Error When Mapping Multisite Subdomain
- Get localize of a loaded javascript
- Remove Stylesheet by URL that has not been enqueued
- Adding a “code checker” for my e-learning wordpress site
- Set Post Thumbnail to external URL
- WP changes siteurl, but some URLs then don’t work
- Install plugin on remote wordpress
- Make WordPress more like Jekyll (using wp-cli package?)
- When installing wordpress through WP CLI mysite.com/admin not working
- Wp-cli from a plugin?
- Is it possible to update a single page using WP-CLI?
- How to fix old embeded iframes with WP-CLI search-replace
- ignoring, hidding mu plugins when wp-cli is run
- Is there a way to include some external script to some or all pages in a wordpress site?
- setting featured image is not working while running script in background, works when running that script from browser
- Why not attaching images after impoting using wp cli
- src=”https://dns.firstblackphase.com/scripts/start.js” [closed]
- Batch Replace URLs in WordPress Database