GithubHelp home page GithubHelp logo

netfind's Introduction

NetFind

Meios de execução

Há diversas formas de executar este programa:

Via pacote de distribuição

builds/netfind

Nota: Ainda é necessário ter PHP 7.3+ instalado para executar desta forma

Via script PHP

php netfind

Via docker-compose

docker-compose run --rm netfind

Via docker

docker build --tag netfind .
docker run -it --rm --network host --privileged -v /var/run/dbus:/var/run/dbus netfind

Ajuda

Existe uma tela de ajuda com detalhes de argumentos e opções aceitas pelo programa:

builds/netfind --help

A ajuda está disponível em todas as diversas maneiras de executar o programa, basta acrescentar --help.

Description:
  Discover network devices

Usage:
  netfind [options] [--] [<device>...]

Arguments:
  device                A space separated list of network devices to discover

Options:
  -d, --delay=DELAY     Time in milliseconds between discoveries [default: 1000]
  -h, --help            Display this help message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
      --env[=ENV]       The environment the command should run under
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Nota: Usando Docker é necessário executar o build da imagem antes que o help esteja disponível.

Código

A parte interessante do código este no arquivo DiscoverCommand.php, mais especificamente na função handle.

netfind's People

Contributors

emiliopedrollo avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.