All Projects → certificationy → Certificationy Cli

certificationy / Certificationy Cli

Licence: mit
The CLI tool to train certifications

Projects that are alternatives of or similar to Certificationy Cli

Rymfony
A work-in-progress CLI tool built in Rust to mimic the Symfony CLI binary
Stars: ✭ 89 (-76.64%)
Mutual labels:  cli, symfony
Drupal Console
The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.
Stars: ✭ 913 (+139.63%)
Mutual labels:  cli, symfony
Drush
Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.
Stars: ✭ 2,213 (+480.84%)
Mutual labels:  cli, symfony
Console
The Console component eases the creation of beautiful and testable command line interfaces.
Stars: ✭ 8,988 (+2259.06%)
Mutual labels:  cli, symfony
Symfony Demo App
A Symfony demo application with basic user management
Stars: ✭ 122 (-67.98%)
Mutual labels:  cli, symfony
Msgphp
Reusable domain layers. Shipped with industry standard infrastructure.
Stars: ✭ 182 (-52.23%)
Mutual labels:  cli, symfony
Laravel Zero
A PHP framework for console artisans
Stars: ✭ 2,821 (+640.42%)
Mutual labels:  cli, symfony
Silex
[DEPRECATED -- Use Symfony instead] The PHP micro-framework based on the Symfony Components
Stars: ✭ 3,646 (+856.96%)
Mutual labels:  symfony
Confy
🛋 Zero-boilerplate configuration management in Rust
Stars: ✭ 379 (-0.52%)
Mutual labels:  cli
Polyfill Ctype
This component provides a partial, native PHP implementation for the Ctype extension.
Stars: ✭ 3,774 (+890.55%)
Mutual labels:  symfony
Go Github Selfupdate
Binary self-update mechanism for Go commands using GitHub
Stars: ✭ 370 (-2.89%)
Mutual labels:  cli
Superplate
Performance-oriented frontend application creator with popular tools.
Stars: ✭ 368 (-3.41%)
Mutual labels:  cli
Visidata
A terminal spreadsheet multitool for discovering and arranging data
Stars: ✭ 4,606 (+1108.92%)
Mutual labels:  cli
Httplab
The interactive web server
Stars: ✭ 3,752 (+884.78%)
Mutual labels:  cli
Schema Generator
PHP Model Scaffolding from Schema.org and other RDF vocabularies
Stars: ✭ 379 (-0.52%)
Mutual labels:  symfony
Gitlab Time Tracker
🦊🕘 A command line interface for GitLab's time tracking feature.
Stars: ✭ 371 (-2.62%)
Mutual labels:  cli
Memento
Memento is a development-only tool that caches HTTP calls once they have been executed.
Stars: ✭ 380 (-0.26%)
Mutual labels:  cli
Lazygit
simple terminal UI for git commands
Stars: ✭ 24,910 (+6438.06%)
Mutual labels:  cli
Mongo Seeding
The ultimate solution for populating your MongoDB database.
Stars: ✭ 375 (-1.57%)
Mutual labels:  cli
Symfonyextension
🎼 Extension integrating Behat with Symfony.
Stars: ✭ 376 (-1.31%)
Mutual labels:  symfony

Certificationy CLI

This is the CLI tool to train on certifications.

Build Status SensioLabsInsight

How it looks?

Certificationy application

Installation and update

Using Composer

$ composer create-project certificationy/certificationy-cli
$ php certificationy.php

With Docker and Docker compose

Install the project prerequisites

The project has prerequisites:

To install Docker, refer to the official documentation for your operating system: https://docs.docker.com/install/.

Once Docker installed, to check its smooth running, run docker -v, you should get something like suit:

$ docker -v
Docker version 1.12.4, build 1564f02

You must use the minimum version 1.12 of Docker.

To install the docker-composer, please also refer to the official documentation: https://docs.docker.com/compose/install/.

Once docker-composes installed (install it globally to be able and access from anywhere), to check its proper functioning, run docker-compose -v, you should get something like suit:

$ docker-compose -v
Docker-composer version 1.10.0, build 4bd6f1a

You must use the docker-compose version 1.10 minimum.

A makefile allows you to manipulate the container simply and easily. You have to be able to run make -v, which you are ready to choose:

$ make -v
GNU Make 4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
GPLv3 + license: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are allowed to modify and redistribute.
There is NO WARRANTY, to the extent of the will of the law.

Note: If you are using Windows, we strongly recommend that you use the Linux console included in Windows 10 (https://docs.microsoft.com/en-us/windows/wsl/install-win10) or to use an emulator for Command to be able to use make which will greatly facilitate the work.

Using the Container

You should then be able to run make which will show you using the Makefile:

$ make
start:           Start the project
bash:            Go to the bash container of the application
stop:            Stop docker containers

Start the application with make start:

$make start
docker-compose build
Building app
Step 1/19 : FROM php:7.1-fpm-alpine
7.1-fpm-alpine: Pulling from library/php
... # pulling image
Successfully built 22ab66e58936
Successfully tagged certificationycli_app:latest
docker-compose up -d
Recreating certificationycli_app_1
docker exec -i -t 6929cb80f7a7df579910341c74208e05d6d5548900488c35b41c281da9fe940e /bin/bash
bash-4.3# 

Once the procedure is complete you can already use the bash of the container.

Run Certificationy CLI;

$ php certificationy.php

To exit bash docker

$ exit 

Stop the application with make stop:

$ make stop 
docker-compose kill
Killing certificationycli_app_1 ... done

More run options

Select the number of questions

$ php certificationy.php start --number=10

The default value is 20.

List categories

$ php certificationy.php start --list [-l]

Will list all the categories available.

Only questions from certain categories

$ php certificationy.php start "Automated tests" "Bundles"

Will only get the questions from the categories "Automated tests" and "Bundles".

Use the category list from List categories.

Hide the information that questions are/aren't multiple choice

$ php certificationy.php start --hide-multiple-choice

As default, the information will be displayed.

Multiple choice

Training mode: the solution is displayed after each question

$ php certificationy.php start --training

Set custom configuration file

$ bin/certificationy start --config=../config.yml

Will set custom config file.

And all combined

$ php certificationy.php start --number=5 --hide-multiple-choice "Automated tests" "Bundles"
  • 5 questions
  • We will hide the information that questions are/aren't multiple choice
  • Only get questions from category "Automated tests" and "Bundles"

Note: if you pass --list [-l] then you will ONLY get the category list, regarding your other settings.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].