1234567891011121314151617181920212223242526272829303132333435 |
- /* SPDX-License-Identifier: GPL-3.0-or-later */
- /*
- * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
- */
- /* START */
- #include <string.h>
- #include <unistd.h>
- #include <libgen.h>
- #include <stdio.h>
- /* END */
- /* START */
- int main(int argc, char *argv[]) {
- if (!strcmp(basename(argv[0]),"box") && argc > 1) {
- argc--;
- argv++;
- } if(0);
- /* END */
- /* START */
- else if (!strcmp(basename(argv[0]), "box") && argc == 1) {
- printf("fases box.\n");
- printf("Usage: box command [args] ...\n");
- /* END */
- printf("¯\\_(ツ)_/¯ No commands found.");
- /* START */
- printf("\n");
- }
- else {
- printf("box: %s: Not found or not implemented.\n", argv[0]);
- }
- return 0;
- }
- /* END */
- /* Generated on Tue 21 Feb 20:06:57 CET 2023 */
|