In this release, we have better searching capabilities, tagging snippets, password generators, and much more.

Snipline is an app for organising and copying commands as efficiently as possible. If you’re just hearing about Snipline now, checkout our homepage for a general overview of the app.

The new version 0.7.0 is possibly the biggest update for Snipline yet. Here’s the rundown of what’s in the new release.


Adding an SQL tag and searching for itafterwards

You can add tags to your snippets, such as SQL, production, php, laravel, etc, to help organise your snippets.

Check out further information on tags in the docs

You can now harness the power of Lunr.js for searching your snippets.

Searching for a misspelling of Magento and then searching for all gitcommands that dont mention“graph”

Here are some example queries that can be run

  • tags:sql // Search for all snippets with a tag of sql
  • *gre* // Search for snippets that contain the characters “gre”
  • sql +log // Search for snippets that contain “sql” and “log”
  • sql -log // Search for snippets that contain “sql” but not “log”

Check out further information on searching in the docs

Password Syntax

In some situations, it’s handy to be able to generate a random password for a command.

Here’s an example with Magento where you can create a new admin user via the command-line with a 16-digit password:

php bin/magento admin:user:create --admin-user="#{[Username=admin]}" --admin-password="#password{[Password,16]}" --admin-email="#{[]}" --admin-firstname="#{[Firstname=Mitch]}" --admin-lastname="#{[Lastname=Artemis]}"

The following resulted in this output

php bin/magento admin:user:create --admin-user="admin" --admin-password="W[Oi*XRONSgQi\)q" --admin-email="" --admin-firstname="Mitch" --admin-lastname="Artemis"

#password{[Name,16]} Generates a password of the length 16 using window.crypto.

You can also adjust your settings to include/exclude mixed-case, symbols, and numbers from the configuration menu.

Not only this, but because the passwords have names, you can refer to them multiple times in the same snippet incase you ever need to reference the password more than once.

Check out further information on generating passwords in the docs


There’s a few bug fixes and refactoring for both the Desktop app and the API with this release. Here’s a brief list of the major highlights:

  • Reorganised and added more links to the Quick Settings menu.
  • Fix an issue with the Quick Settings menu sticking after clicking the Keyboard Shortcuts link.
  • Added Password Generator options to configuration page.
  • Fix an issue with emails containing a + not being able to log in.
  • Refactor the copy snippet functionality.
  • API: now accepts tags parameter (array).
  • API: Added password syntax validation (Checks the #password{[]} syntax is correct in snippets).

That’s all for now! Make sure to download the latest release to get the updates.