ACIL FM
Dark
Refresh
Current DIR:
/usr/lib/python3.9/site-packages/tracer/resources
/
usr
lib
python3.9
site-packages
tracer
resources
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
__pycache__
-
chmod
Open
Rename
Delete
applications.py
8.95 MB
chmod
View
DL
Edit
Rename
Delete
args_parser.py
3.42 MB
chmod
View
DL
Edit
Rename
Delete
collections.py
4.05 MB
chmod
View
DL
Edit
Rename
Delete
exceptions.py
2.44 MB
chmod
View
DL
Edit
Rename
Delete
FilenameCleaner.py
3.18 MB
chmod
View
DL
Edit
Rename
Delete
lang.py
1.27 MB
chmod
View
DL
Edit
Rename
Delete
memory.py
1.37 MB
chmod
View
DL
Edit
Rename
Delete
package.py
1.57 MB
chmod
View
DL
Edit
Rename
Delete
PackageManager.py
2.71 MB
chmod
View
DL
Edit
Rename
Delete
processes.py
8.86 MB
chmod
View
DL
Edit
Rename
Delete
pycomp.py
1.48 MB
chmod
View
DL
Edit
Rename
Delete
router.py
1.79 MB
chmod
View
DL
Edit
Rename
Delete
rules.py
3.23 MB
chmod
View
DL
Edit
Rename
Delete
system.py
4.65 MB
chmod
View
DL
Edit
Rename
Delete
SystemdDbus.py
2.04 MB
chmod
View
DL
Edit
Rename
Delete
tracer.py
7.18 MB
chmod
View
DL
Edit
Rename
Delete
__init__.py
0 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/lib/python3.9/site-packages/tracer/resources/args_parser.py
#-*- coding: utf-8 -*- # args_parser.py # Module for parsing console arguments # # Copyright (C) 2016 Jakub Kadlcik # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions of # the GNU General Public License v.2, or (at your option) any later version. # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY expressed or implied, including the implied warranties of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. You should have received a copy of the # GNU General Public License along with this program; if not, write to the # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # import argparse try: import argcomplete except ImportError: pass parser = argparse.ArgumentParser( prog = 'tracer', description='Tracer finds outdated running applications in your system', ) # Obsolete parser.add_argument('pkgs', nargs='*', type=str, help='Obsolete: Use --packages instead' ) parser.add_argument('--packages', dest='packages', nargs='*', type=str, default=[], help='packages that only should be traced' ) parser.add_argument('-i', '--interactive', dest='interactive', action='store_true', help='run tracer in interactive mode. Print numbered applications and give helpers based on numbers' ) parser.add_argument('-n', '--now', dest='now', action='store_true', help='when there are specified packages, dont look for time of their update. Use "now" instead' ) parser.add_argument('-t', '--timestamp', nargs=1, default=[None], dest='timestamp', help='since when the updates should be' ) parser.add_argument('-q', '--quiet', dest='quiet', action='store_true', help='do not print additional information' ) parser.add_argument('-v', '--verbose', dest='verbose', action='count', default=0, help='print more informations. Use -v or -vv' ) parser.add_argument('-s', '--show', nargs='+', dest='helper', metavar='app_name', help='show helper for given application' ) parser.add_argument('--helpers', dest='helpers', action='store_true', help='not list applications, but list their helpers' ) parser.add_argument('-a', '--all', dest='all', action='store_true', help='list even session and unrestartable applications' ) parser.add_argument('--daemons-only', '--services-only', dest='daemons_only', action='store_true', help='list only daemons/services' ) parser.add_argument('--hooks-only', dest='hooks_only', action='store_true', help='do not print traced applications, only run their hooks' ) parser.add_argument('--version', dest='version', action='store_true', help='print program version' ) parser.add_argument('--show-resource', nargs=1, choices=['packages', 'processes', 'rules', 'applications', 'system'], dest='resource', help='provide informations about selected resource' ) user = parser.add_mutually_exclusive_group() user.add_argument("-u", "--user", nargs=1, dest='user', metavar='username' ) user.add_argument("-r", "--root", dest='user', action="store_const", const='root' ) user.add_argument("-e", "--everyone", dest='user', action="store_const", const='*' ) user.add_argument("--erased", dest="erased", action="store_true", help="print even section with erased packages (DNF only)", default=False ) try: argcomplete.autocomplete(parser) except NameError: pass
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply