Giter Club home page Giter Club logo

coop's Introduction

Cooperative task

This repository contains files that form a skeleton of an application. Currently the application does nothing. Your task is to make this application do something, but so that code is merged to this repository in GitHub.

To do so you'll need to learn the process of forking, branching and merge (pull) requests. It would be best if you did at least two pull requests, in order to practice.

Me as an owner of this repository will comment on your code and request improvements as a reviewer in a normal workplace would do, so that you can get the feeling of this.

Task 1 - Parse command line args

In file cliargs.py there is a blueprint of a method to parse cli arguments. Let's imagine we want our application to cook dishes.

app.py COMMAND OPTION1 OPTION2 ...

COMMAND:
bake - bakes using owen
cook - cooks using pots

OPTIONS (all optional)
--speed - accepts values in set : {'not-in-a-hurry', 'late-for-work', 'late-for-plane'}
--ingredients - accepts a list of ingredients in a format 'ingredientA ingredientB' (space delimited list)
--quantity - accepts values in set : {'a-little', 'a-lot', 'for-an-army'}

Application needs to be able to parse correct input and inform user about their mistakes.

Task 2 - Cook

Given the input, application needs to write (or paint or draw if you feel adventurous) how the process of preparation looks like, taking into account bake/cook and other parameters.

coop's People

Contributors

szarykott avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.