Blame view

help.sh 3.11 KB
3e470988   hmalti   First commit
1
2
3
  #!/bin/bash
      printf "Baleine est un outil simple de gestion de conteneur.\n"
      printf "Utilisation: \n \n"
bc091391   hmalti   help + README
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
  
      printf "NOM \n"
      printf "\t Image\n"
      printf "SYNOPSIS \n"
      printf "\t baleine image <COMMANDES> [arguments]\n"
      printf "Description: \n \n"
      printf "\t La commande 'image' permet de créer une image, en supprimer, lister les images existantes (Son nom, sa taille, son chemin ) \n" 
      printf "Les commandes sont :\n \n"
      printf "\t %-10s %-10s \n" "<create>"  "crée une image."
      printf "\t \t [-i], [NOM_IMAGE]\n \n" 
      printf "\t \t [-s], [TAILLE]\n \n" 
      printf "\t \t [-r], [REPERTOIRE]\n \n" 
      printf "\t \t [-P], [PROXY]\n \n"
      printf " \t %-10s %-10s \n" "<list>"  "liste les images existantes ainsi que leurs manifestes."
      printf " \t %-10s %-10s \n" "<remove>"  "Supprime l'image donnée en argument."
      printf "\t \t [-c], --container [NOM_CONTAINER]\n \n" 
      
      printf "NOM \n"
      printf "\t Bridge\n"
      printf "SYNOPSIS \n"
      printf "\t baleine bridge <COMMANDES> [arguments]\n"
      printf "Description: \n \n"
      printf "\t La commande 'bridge' permet de créer des bridges Linux, en supprimer et lister les bridges existants (Nom) \n" 
      printf "Les commandes sont :\n \n"
      printf "\t %-10s %-10s \n" "<create>"  "crée un bridge."
      printf "\t \t [-b], [NOM_BRIDGE]\n \n" 
      printf "\t \t [-a], [ADDR_IPV4]\n \n" 
      printf " \t %-10s %-10s \n" "<list>"  "liste les bridges existants ainsi que leurs manifestes."
      printf " \t %-10s %-10s \n" "<remove>"  "Supprime le bridge donné en argument."
      printf "\t \t [-b], --bridge [NOM_BRIDGE]\n \n"
      printf " \t %-10s %-10s \n" "<up>"  "Met up le bridge donné en argument."
      printf "\t \t [-b], --bridge [NOM_BRIDGE]\n \n"
      printf " \t %-10s %-10s \n" "<down>"  "Met down le bridge donné en argument."
      printf "\t \t [-b], --bridge [NOM_BRIDGE]\n \n"
  
      printf "NOM\n"
      printf "\t Container\n"
      printf "SYNOPSIS \n"
      printf "\t baleine container <COMMANDES> [arguments]\n"
      printf "Description: \n \n"
      printf "\t La commande 'Container' permet de créer des conteneurs, en supprimer, lister les conteneurs existants (Son nom, son image, son bridge, son PID, son starting time ) \n" 
      printf "Les commandes sont :\n \n"
      printf "\t %-10s %-10s \n" "<create>"  "crée un conteneur."
      printf "\t \t [-i], [NOM_IMAGE]\n \n" 
      printf "\t \t [-c], [NOM_CONTAINER]\n \n"
      printf "\t \t [-b], [NOM_BRIDGE]\n \n"
      printf "\t \t [-r], [REPERTOIRE]\n \n"
      printf "\t \t [-a], [ADDRE_IPV4]\n \n"
      printf "\t \t [-p], [NOM_PROGRAMME]\n \n"
      printf " \t %-10s %-10s \n" "<list> "  "liste les conteneurs existants ainsi que leurs manifestes."
      printf " \t %-10s %-10s \n" "<remove> "  "Supprime le conteneur donné en argument."
      printf "\t \t [-c], --container [NOM_CONTAINER]\n \n" 
      printf "\t \t %-10s %-10s \n" "<exec> "  "Exécute au lancement du conteneur un bash."
      printf "\t \t [-c], --container [NOM_CONTAINER]\n \n" 
      printf "\t %-10s %-10s \n" "<stop> "  "Stop le conteneur donné en argument."
      printf "\t \t [-c], --container [NOM_CONTAINER]\n \n"