arp-installed
Example:
# Install the arp package. - arp-installed
Description
Install the arp network scanning utility.
Variables
Name | Type | Default | Description |
---|---|---|---|
|
string | auto | the package manager to use |
Examples
Example 1
Install the arp package.
Code
- arp-installed
Description
This uses the default system manager to install the package.
Code
doc: short_help: Install the arp package. help: | Install the arp network scanning utility. examples: - title: Install the arp package. desc: | This uses the default system manager to install the package. vars: {} args: pkg_mgr: doc: short_help: the package manager to use type: string default: auto required: false cli: metavar: PKG-MGR meta: is_interface: true tags: - nmap - install - pkg frecklets: - packages-installed: packages: - name: arp pkg_mgr: '{{:: pkg_mgr ::}}' pkgs: ubuntu: arp-scan debian: network-tools default: arp-scan
frecklecute arp-installed --help Usage: frecklecute arp-installed [OPTIONS] Install the arp network scanning utility. Options: --pkg-mgr PKG-MGR the package manager to use --help Show this message and exit.
# -*- coding: utf-8 -*- # # module path: pycklets.arp_installed.ArpInstalled # from dataclasses import dataclass from pyckles import AutoPycklet from typing import * # noqa @dataclass class ArpInstalled(AutoPycklet): """Install the arp network scanning utility. Args: pkg_mgr: the package manager to use """ FRECKLET_ID = "arp-installed" pkg_mgr: str = None def __post_init__(self): super(ArpInstalled, self).__init__(var_names=["pkg_mgr"]) frecklet_class = ArpInstalled
# -*- coding: utf-8 -*- # # module path: pycklets.arp_installed.ArpInstalled # from pyckles import AutoPycklet class ArpInstalled(AutoPycklet): """Install the arp network scanning utility. Args: pkg_mgr: the package manager to use """ FRECKLET_ID = "arp-installed" def __init__(self, pkg_mgr="auto"): super(ArpInstalled, self).__init__(var_names=["pkg_mgr"]) self._pkg_mgr = pkg_mgr @property def pkg_mgr(self): return self._pkg_mgr @pkg_mgr.setter def pkg_mgr(self, pkg_mgr): self._pkg_mgr = pkg_mgr frecklet_class = ArpInstalled