diff --git a/README.md b/README.md index da7cbca..28f65cc 100644 --- a/README.md +++ b/README.md @@ -37,3 +37,18 @@ pip3 install --user get-my-pastebin ``` bash pip3 install --user --upgrade get-my-pastebin ``` + +## Alias + +Optimize with alias in your `.bashrc` or `.zshrc`. + +``` bash +alias gpaste='getmypastebin --api-key 123qwe456rty --username example --password 123' +``` + +Use. + +``` bash +gpaste python +``` + diff --git a/demo.svg b/demo.svg new file mode 100644 index 0000000..dd9a471 --- /dev/null +++ b/demo.svg @@ -0,0 +1,4 @@ + +~                                                                                           ➜  ~                                                                                        ➜  ~ g                                                                                      ➜  ~ gp                                                                                     ➜  ~ gpa                                                                                    ➜  ~ gpas                                                                                   ➜  ~ gpast                                                                                  ➜  ~ gpaste                                                                                 ➜  ~ gpaste                                                                                 ➜  ~ gpaste w                                                                               ➜  ~ gpaste wo                                                                              ➜  ~ gpaste wor                                                                             ➜  ~ gpaste word                                                                            ➜  ~ gpaste wordp                                                                           ➜  ~ gpaste wordpr                                                                          ➜  ~ gpaste wordpre                                                                         ➜  ~ gpaste wordpres                                                                        ➜  ~ gpaste wordpress                                                                       ➜  ~ gpaste wordpress                                                                       gpaste   ~ gpaste wordpress                                                                       gpaste                                                                                             Results: wordpress * WordPress - Enable debug in localhost (activar debug auto)   WordPress - Mostrar contenido del editor   WordPress - Mostrar articulo   WordPress - Mostrar imagen destacada   WordPress - Activar imagen en los articulos del admin   WordPress - Mostrar título   WordPress - Ver previa de los últimos 3 artículos   WordPress - Página artículo del blog   WordPress - Campo personalizado   WordPress - Campo personalizado con imagen                                                                                                                                                                                                                                                                                                                                             WordPress - Enable debug in localhost (activar debug auto) * WordPress - Mostrar contenido del editor                                * WordPress - Mostrar articulo                                        * WordPress - Mostrar imagen destacada   WordPress - Campo personalizado con imagen                                                                                             <!-- single.php --><?php get_header(); ?><?php while(have_posts()) : the_post(); ?><article class="page-single"><div class="container"><h1 class="title"><?php the_title(); ?></h1><p class="date"><?php echo date_i18n('j F Y', strtotime($post->post_date)); ?></p><p><?php the_author(); ?></p><?php the_content(); ?></div></article><?php endwhile; ?><?php get_footer(); ?><!-- Autor: Andros Fenollosa https://programadorwebvalencia.com/ -->➜  ~                                                                                         \ No newline at end of file diff --git a/setup.py b/setup.py index 736104f..90c085a 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,8 @@ from setuptools import setup setup( name = 'get-my-pastebin', - py_modules=['get-my-pastebin'], - version = '1.0.9', + py_modules=['get_my_pastebin'], + version = '1.0.10', python_requires='>3.6', description = 'Terminal application to find and copy your own Paste for Pastebin.', author = 'Andros Fenollosa',