Jump to content

marcus

Members
  • Posts

    289
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by marcus

  1. Big update! Version 0.3.0 comes with: a new "NewCommand" provided by HariKT! Big thanks again. This contribution should lead to a better workflow with Wireshell since it opens up the possibility to install PW via command line in a convenient way A command for creating fields A command for assigning fields to existing templates A generic backup command (DB dump) Commands for en/disabling modules (downloading them via Wireshell is still on my bucket list) A little command outputting the currently installed ProcessWire version An unified approach to naming commands and classes: entity:verb, so for example user:create I dropped the "(Experimental)" from the topic's title Read more about the available new commands and their options in the readme. If you have an older version of Wireshell installed, make sure you "$ composer update" it in order to get the new dependencies. And we're on packagist now: https://packagist.org/packages/wireshell/wireshell
  2. RT @MadeMyDay: this is neat: loading CSS without blocking the rendering. http://t.co/l3vYVYBr2m

  3. .@felixwahner contributed something of a five-course dinner recipe to @pwrecipes: "Inline critical CSS" http://t.co/DWLY6vV7rg. Big thanks!

  4. Thanks for the proposals regarding an installer process, @HariKT and @Richard. A command named "new" definitely promises more than a download, that's right. But for this command I was just tipping my toe in the water, and testdriving the Console component, mimiking "laravel new" (which actually just is a download since there's no installation in the classic sense). Actually your thread about a command line installation of PW got me started with Wireshell in the first place So it's really cool that you'll contribute. Looking forward to the PR! @Richard, it would be cool if you can post your approach to this. Frankly speaking I'm still in the learning phase regarding whats really possible with the API and would be glad if we could discuss in this thread the best approach about this - probably - most important command of Wireshell
  5. Nope, but since the other two also start with cr.. Console component tends to misunderstand cr as an incomplete command.
  6. Regarding aliases: Yeah, I'm aware of the dash, and wanted to try cr, cu, ct first, but in the case of "cr" Symfony Console bugged me with the following error: So in favor of consistency (cu. ct. cro?) I went for the dash. As for "$ wish", that was also my first thought (especially regarding the pun), but I learned that - at least on Unix and OS X - there's a programm called "wish" already present (https://www.tcl.tk/) / Edit: and I'm totally open for a "command style standard". The current order "verb-noun" was nothing but a gut decision.
  7. Thanks for the positive feedback! Some updates in 0.2.0: Attach roles on the fly while user creation: $ wireshell create-user foo --roles=superuser,editor Create templates and attach existing fields on the fly with $ wireshell create-template contact --fields=body,sidebar , prevent template file creation with --nofile Command aliases now available: c-u, c-t, c-r, s Now planning field creation.
  8. Here's an idea for an extendable @processwire command line interface: https://t.co/l3yTmrA48N

  9. wireshell 1.0.0 is out See Bea's post -------- Original post ----------- Now this one could be a rather long post about only an experimental niche tool, but maybe a helpful one for some, so stay with me Intention Do you guys know "Artisan" (Laravel) or "Drush" (Drupal)? If not: These are command line companions for said systems, and very useful for running certain (e.g. maintenance, installation) task quickly - without having to use the Admin Interface, first and foremost when dealing with local ProcessWire installations. And since it has a powerful API and an easy way of being bootstrapped into CLIs like this, I think such a tool has a certain potential in the PW universe. It's totally not the first approach of this kind. But: this one should be easily extendable - and is based on PHP (specifically: the Console component of the Symfony Framework). Every command is tidily wrapped in its own class, dependencies are clearly visible, and so on. ( Here was the outdated documentation. Please visit wireshell.pw for the current one )
  10. RT @codeception: If you seek for something lighter than Codeception @laracasts has a package for integration testing with #PHPUnit https://…

  11. RT @cfritze: Der Tweet von @hrinfo zeigt alles was in dieser Welt kaputt ist #FuckU #germanwings http://t.co/D2yvQ63ntb

  12. Please take a look into the Troubleshooting Guide
  13. Sueddeutsche.de new as of today. Pretty, but I just don't get that you relaunch a fixed-width site in 2015 @sz #rwd http://t.co/52Wxh2xrJG

  14. (Re-)Tweeted a bunch of German stuff lately. But no need for Angst, fellow followers. Marcus' quirky English will return.

  15. During developement, use... <meta name='robots' content='noindex,follow' /> ...in the future and remove this tag before the Going Live.
  16. RT @SaraSoueidan: Like the Brits, the Germans think that I’m going to Germany to stay there & not come back, so they didn’t grant me a visa…

  17. RT @F1Lite: Please let Nico say "I'll be back". #F1

  18. RT @ryancduff: It’s 2015. Why the fuck are we having SQL injection vulnerabilities in some of the largest WordPress plugins? http://t.co/Nr…

  19. RT @muse: Check out the new song "Psycho" now! https://t.co/kki0vJPcng #MuseDrones

  20. I just backed Back in Time - A Back to the Future Documentary on @Kickstarter http://t.co/GSftZXUYxu

×
×
  • Create New...