20 lines
1.1 KiB
JSON
20 lines
1.1 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(mkdir \"c:\\\\DataS\\\\OpenCare\\\\static\\\\css\")",
|
|
"Bash(mkdir \"c:\\\\DataS\\\\OpenCare\\\\templates\")",
|
|
"PowerShell(Get-Command python3 -ErrorAction SilentlyContinue)",
|
|
"PowerShell(Get-Command python -ErrorAction SilentlyContinue)",
|
|
"PowerShell(py --version 2>&1)",
|
|
"Bash(py seed_sources.py)",
|
|
"Bash(python -c \"import sys; sys.stdout.buffer.write\\(sys.stdin.buffer.read\\(\\)\\)\")",
|
|
"Bash(py -c \"import sqlite3; conn=sqlite3.connect\\('instance/opencare.db'\\); rows=conn.execute\\('SELECT id,name,source_type,category,active FROM crawl_source ORDER BY id'\\).fetchall\\(\\); [print\\(r\\) for r in rows]; conn.close\\(\\)\")",
|
|
"Bash(py -c \"import sqlite3; conn=sqlite3.connect\\('instance/opencare.db'\\); cols=[r[1] for r in conn.execute\\('PRAGMA table_info\\(crawl_source\\)'\\).fetchall\\(\\)]; print\\('Colonnes:', cols\\); conn.close\\(\\)\")",
|
|
"Bash(git init *)",
|
|
"Bash(git add *)",
|
|
"Bash(git config *)",
|
|
"Bash(git commit -m ' *)"
|
|
]
|
|
}
|
|
}
|