|
1 |
| -# Welcome to: Teed Maker CLI or just `tmk` |
| 1 | +# Bem vindo ao `Teed Maker CLI`, ou implesmente: `tmk` |
2 | 2 |
|
3 | 3 | ```
|
4 | 4 | _ _ _
|
|
14 | 14 | [](https://github.com/teedmaker/cli/issues)
|
15 | 15 | [](https://www.npmjs.com/package/@teedmaker/cli)
|
16 | 16 |
|
17 |
| -### let's start the party! :tada: |
| 17 | +### vamos iniciar a festa! :tada: |
18 | 18 |
|
19 |
| -Initially I want to say that I'm really proud of with this project, because a long time I was tried to made some thing like this one. For various reasons I was fail, my programming skills was not good yet and a lot of things. |
| 19 | +Inicialmente eu gostaria de dizer que estou realmente feliz com este projeto, porque há muito tempo venho tentando fazer algo parecido. |
| 20 | +Mas por *diversos* motivos eu vinha falhando miseravelmente. Minhas habilidades não eram tão boas, meus conhecimentos etc. |
20 | 21 |
|
21 |
| -So, I will explain how it works. |
| 22 | +Vamos lá então! |
22 | 23 |
|
23 | 24 | ---
|
24 | 25 |
|
25 |
| -For now have little methods that you can use. |
| 26 | +Ainda não existem muitas funções que você possa usar, este projeto *encontra-se em desenvolvimento*. |
26 | 27 |
|
27 |
| -And here they are: |
| 28 | +Aqui estão as funções: |
28 | 29 |
|
29 | 30 | ### create
|
30 | 31 |
|
31 |
| -usage: |
| 32 | +uso: |
32 | 33 |
|
33 | 34 | > tmk create [methods]
|
34 | 35 |
|
35 |
| -#### create controller name |
| 36 | +#### create controller nome |
36 | 37 |
|
37 |
| -This command will create a new controller. By default the path to controllers is `src/controllers`, but you can pass another with the flag: `--path='path/to/controllers'`, or just: `-p=path/to/controllers`. You can pass a another flag too (`--blank`, or just `-b`) to create a blank file. |
| 38 | +Este comando irá criar um novo controller. Por definição, o diretório para os controllers é `./src/controllers/`, mas você pode passar um outro com a flag: `--path='path/to/controllers'`, ou simplesmente: `-p=path/to/controllers`. Você também poderá passar uma outra flag: (`--blank`, ou: `-b`) para criar um arquivo em branco. |
38 | 39 |
|
39 |
| -e.g.: |
| 40 | +exemplo: |
40 | 41 |
|
41 | 42 | > tmk create controller Home --path='new/path' --blank
|
42 | 43 |
|
43 |
| -This will create a blank controller (`HomeController`), inside of `new/path/`. |
| 44 | +Este comando irá criar um controller em branco dentro do diretório `new/path/`. |
44 | 45 |
|
45 |
| -#### create service name |
| 46 | +#### create service nome |
46 | 47 |
|
47 |
| -This command will create a new service. By default the path to services is `src/services`, you can change it with the flag `--path='new/services'` (or just `-p=new/path`). To create a new blank file, you need to pass the flag `--blank` (or `-b`). |
| 48 | +Este comando criará um service. Por definição eles serão criados dentro de `src/services`, mas você pode alterar o destino utilizando: `--path='new/services'` (ou `-p=new/path`). Para criar um arquivo em brando você poderá passar a flag `--blank` (ou `-b`). |
48 | 49 |
|
49 |
| -e.g.: |
| 50 | +exemplo: |
50 | 51 |
|
51 | 52 | > tmk create service users
|
52 | 53 |
|
53 |
| -This will create a service `Users` in `src/services/Users.php`. |
| 54 | +Este comando criará o service `Users` em `src/services/Users.php`. |
54 | 55 |
|
55 |
| -#### create view path/name |
| 56 | +#### create view caminho/para/a/view |
56 | 57 |
|
57 |
| -This command enables you to create a view file. The default path is `src/views`, and can be changed with the flag `--path='new/path/to/views'` (or just `-p=new/path`). The flag `--blank` (or `-b`) can be passed to, if you want to create a blank view file. |
| 58 | +Este comando permite a criação de um arquivo view. O diretório padrão é: `src/views`, e pode ser alterado com a flag `--path='novo/caminho'` (ou simplesmente `-p=new/path`). A flag `--blank` (ou `-b`) pode ser passada também caso você queira criar uma view em brando. |
58 | 59 |
|
59 |
| -e.g.: |
| 60 | +exemplo: |
60 | 61 |
|
61 | 62 | > tmk create view users/index
|
62 | 63 |
|
63 |
| -This will create a view file in `src/views/users/index.php`. |
| 64 | +Isto criará uma view em `src/views/users/index.php`. |
64 | 65 |
|
65 | 66 | ----
|
66 | 67 |
|
67 |
| -### For now, it's all! |
| 68 | +### Isto é tudo, pessoal! :wink: |
68 | 69 |
|
69 |
| -Some features will be added. For now it's look like a experiment. So, if you want to contribute, fork and work in it! Or create a new `issue`! :+1: |
| 70 | +Mais atualizações em breve! Por enquanto é só um experimento. Então, caso queira contribuir, dê um fork ou crie novas issues! :+1: |
0 commit comments